- 浏览: 455585 次
- 性别:
- 来自: 深圳
文章分类
- 全部博客 (178)
- linux (25)
- java (31)
- eclipse (3)
- web (19)
- database (11)
- framework (7)
- spring (1)
- jbpm (1)
- error and solution (3)
- struts2 (3)
- hibernate (12)
- other (15)
- ubuntu (2)
- build tools (1)
- 服务器配置 (3)
- extjs (2)
- ssl相关 (1)
- 项目管理 (0)
- 软件测试 (0)
- java maven2 (2)
- Windows Server 2003 (1)
- glassfish (1)
- build tools,maven (2)
- Heritrix3 (1)
最新评论
-
lbs1026:
您好,卸载后怎么再装上去呢?
java中dll文件的加载和卸载。 -
mp19901204:
请教下,能通过js播放指定的影片吗。不刷新网页,用js直接调用 ...
Flv播放器 Vcastr3.0的用法参考 -
wiflish:
hanmiao 写道试了第壹個,好用。
使maven2在下载依赖包的同时下载其源代码包。 -
hanmiao:
试了第壹個,好用。
使maven2在下载依赖包的同时下载其源代码包。 -
chuanwang66:
请问Heritrix 3.1.0 你是怎么配置进Eclipse ...
Heritrix3.1.0RC1使用Cookie不能自动登录问题的一个解决办法
官方链接:JAR File Specification
MANIFEST.MF文件属性:
MANIFEST.MF文件属性:
Main Attributes
Main attributes are the attributes that are present in the main section of the manifest. They fall into the following different groups:- general main attributes
- Manifest-Version:
- Created-By:
- Signature-Version:
- Class-Path :
- attribute defined for stand-alone applications This attribute is used by stand-alone applications that are bundled into executable jar files which can be invoked by the java runtime directly by running "java -jar x.jar".
- Main-Class :
- Defines the manifest file version. The value is a legitimate version
number, as described in the above spec.
Defines the version and the vendor of the java implementation on top of which this manifest file is generated. This attribute is generated by the jar tool.
Defines the signature version of the jar file. The value should be a valid version-number string.
The value of this attribute specifies the relative URLs of the extensions or libraries that this application or extension needs. URLs are separated by one or more spaces. The application or extension class loader uses the value of this attribute to construct its internal search path.
The value of this attribute defines the relative path of the main application class which the launcher will load at startup time. The value must not have the .class extension appended to the class name.
- attributes defined for applets These attributes is used by an applet which is bundled into JAR files to define requirements, version and location information for the extensions which this applet depends on. (see Extension Versioning ).
- Extension-List:
- <extension>-Extension-Name :
- <extension>-Specification-Version
- <extension>-Implementation-Version
- <extension>-Implementation-Vendor-Id
- <extension>-Implementation-URL
- attribute defined for extension identification This attribute is used by extensions to define their unique identity.
- Extension-Name: This attribute specifies a name for the extension contained in the Jar file. The name should be a unique identifier such as the name of the main package comprising the extension.
- attributes defined for extension and package versioning and sealing information These attributes define features of the extension which the JAR file is a part of. The value of these attributes apply to all the packages in the JAR file, but can be overridden by per-entry attributes.
- Implementation-Title : The value is a string that defines the title of the extension implementation.
- Implementation-Version :
- Implementation-Vendor :
- Implementation-Vendor-Id :
- Implementation-URL :
- Specification-Title :
- Specification-Version :
- Specification-Vendor :
This attribute indicates the extensions that are needed by the applet. Each extension listed in this attribute will have a set of additional attributes that the applet uses to specify which version and vendor of the extension it requires.
This attribute is the unique name of the extension. The Java Plug-in will compare the value of this attribute with the Extension-Name attribute in the manifests of installed extensions to determine if the extension is installed.
This attribute specifies the minimum extension specification version that is required by the applet. The Java Plug-in will compare the value of this attribute with the Specification-Version attribute of the installed extension to determine if the extension is up to date.
This attritute specifies the minimum extension implementation version number that is required by the applet. The Java Plug-in will compare the value of this attribute with the Implementation-Version attribute of the installed extension to see if a more recent implementation needs to be downloaded.
This attribute can be used to identify the vendor of an extension implementation if the applet requires an implementation from a specific vendor. The Java Plug-in will compare the value of this attribute with the Implementation-Vendor-Id attribute of the installed extension.
This attribute specifies a URL that can be used to obtain the most recent version of the extension if the required version is not already installed.
The value is a string that defines the version of the extension implementation.
The value is a string that defines the organization that maintains the extension implementation.
The value is a string id that uniquely defines the organization that maintains the extension implementation.
This attribute defines the URL from which the extension implementation can be downloaded from.
The value is a string that defines the title of the extension specification.
The value is a string that defines the version of the extension specification.
The value is a string that defines the organization that maintains the extension specification.
- Sealed :
This attribute defines whether this JAR file is sealed or not. The value can be either "true" or "false", case is ignored. If it is set to "true", then all the packages in the JAR file are defaulted to be sealed, unless they are defined otherwise individually.
发表评论
-
《架构之美》笔记
2013-12-04 21:02 0美丽架构的特性: 1、概念完整性(来自于处理问题的一致性) ... -
【转】生产环境下JAVA进程高CPU占用故障排查
2013-11-01 16:36 1380转自: http://blog.chinaunix.net/ ... -
在maven生成eclipse文件时,使项目支持wtp的方式
2011-12-18 00:37 1178使项目能支持wtp: maven eclipse:ec ... -
解决Maven编译出现警告时,就提示编译失败的问题
2011-08-18 19:42 2045解决Maven编译出现警告时,就提示编译失败的问题 原因:m ... -
进入Glassfish3管理控制台太慢的解决办法
2011-07-07 14:53 1628解决办法:关闭Glassfish的网络链接。 配置方法 ... -
OSGi4.2规范的Bundle Manifest Headers列表
2010-01-22 17:40 2433OSGi4.2规范的Bundle Manifest ... -
VisualVM远程监控
2009-11-18 17:28 2577VisualVM是集成了多个JDK命令工具的一个可视化 ... -
maven-war插件打包war时,过滤掉指定文件或目录的配置方法
2009-09-09 11:53 17081<plugin> <artifac ... -
quartz中的CronTriggers表达式含义
2009-09-08 10:58 1015http://www.opensymphony.com/qua ... -
Spring-Security 2 中从数据库中读取权限的实现方式
2009-07-22 21:29 3526security的配置片段: < ... -
关于Bad version number in .class file错误
2009-04-01 10:54 1075出现Bad version number in .class ... -
maven报错。
2009-03-22 00:07 1591错误信息:[INFO] Required goal not f ... -
java处理视频
2009-01-12 22:42 3845目前绝大多数视频网站使用的格式是flv。格式可以任意位置播放, ... -
Xdoclet的标签及用法
2006-05-11 11:43 817参照链接: Xdoclet的标签及用法 -
原创:eclipse反编译插件Jadclipse介绍
2006-05-16 15:23 853jadclips插件网站:http://jadclipse.s ... -
ant中宏定义例子
2006-05-18 16:47 1574一个ant中用于编译的宏定义例子: 1 ... -
Google Web Toolkit
2006-05-22 14:12 804Google Web Toolkit (GWT) is a J ... -
[转]java基本类装入异常
2006-05-24 16:24 1098原文链接:http://www-128.ibm.co ... -
安装和卸载Mysql的windows系统服务
2006-05-26 15:20 1132安装mysql的windows系统服务: ${mysql.h ... -
通过java获取系统环境变量
2006-07-03 17:11 3640代码如下: 1 public static ...
相关推荐
当我们需要运行一个与其他jar文件有关联jar文件时,如果jar文件里面的MANIFEST.MF文件没有配置好,那在运行时就要报异常:Exception in thread "main" java.lang.NoClassDefFoundError。原因:未找到关联jar文件里面...
VB6实现XP风格 MANIFEST文件
webservice CXF 报错:java.lang.NoClassDefFoundError: org/apache/neethi/builders/AssertionBuilder 需要用到此jar文件 通过apache官网可获得。 文件位置\apache-cxf-2.7.13\lib
从网上搜索过可执行jar文件的制作方法,都需要修改好多,才能测试成功。自己把自己修改后的代码和步骤,和大家分享!其中,尤其对manifest文件的格式问题,做了许多测试...test.jar文件,manifest.mf文件,txt说明文件!
windows下用mt将manifest文件压缩进exe文件,能够让经典win2000时代界面的exe变成xp以上操作系统界面风格,比如你有一个vb6com.exe,用上压缩包里vb6com.exe.manifest,一句命令Mt.exe -manifest "vb6...
可以对安卓apk包的manifest文件,反编译,可以看名文了。
android manifest 解密jar
MANIFEST文件配置,讲解MANIFEST文件内容信息,JAD内容,实用~~~
JAR文件是一种归档文件,以...用户可以使用JDK自带的jar命令创建或提取JAR文件。也可以使用其他zip压缩工具,不过压缩时zip文件头里的条目顺序很重要,因为Manifest文件常需放在首位。JAR文件内的文件名是Unicode文本。
VB用两种方法实现win7风格的窗体界面,一种是使用manifest 文件实现,另一种是使用Res资源文件实现,XP风格的manifest文件和win7风格的manifest文件不同,请不要混用,另外请使用5.0版的Microsoft.Windows.Common-...
Java 读写MANIFEST.MF文件中的属性,采用maven打包MANIFEST.MF配置项,通过io流读取配置项
steam-appmanifest, 在 ~/.steam/steam/SteamApps 中,生成 appmanifest_APPID.acf 文件 Steam AppManifest生成器这是一个简短的python 脚本,可以让 Steam 下载到下载非Linux应用程序中。注:Steam 不会运行没有...
HTNL5+ HBuilder移动应用manifest文件配置指南,官方文档,详细讲解了HBuilder manifest文件的每一个设置细节。
NULL 博文链接:https://zhangzhaoaaa.iteye.com/blog/2203301
PB的旧版本的控件都是方方正正的样式,比较难看,使用manifest文件可以使这些标准控件编程windows样式
Manifest.xml文件的作用和简单使用
需要测试的springboot项目,过程中遇到了idea打jar包,应为MANIFEST.MF 文件夹和 MANIFEST.MF 文件不在项目根目录下,导致多次 在本地 java -jar 运行jar包失败,当然放到docker 里作为容器启动也是失败的,后来在 ...
xpStyle.manifest 用记事本或其它文本编辑工具手动修改工程目录下的资源文件(.rc),在文件最后加上一行: 1 24 "XPStyle.manifest" 编译即可
Jar::Manifest - 读写 Java Jar 清单 概要 use Jar::Manifest qw(Dump Load); # Read a Manifest my $manifest_str = <<"MANIFEST"; Manifest-Version: 1.0 Created-By: 1.5.0_11-b03 (Sun Microsystems Inc....