LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1176|回复: 2

为什么我的bluej装不上?

[复制链接]
发表于 2005-11-21 18:21:32 | 显示全部楼层 |阅读模式
文件名是bluej-205.jar
执行:java -jar bluej-205.jar
显示如下:
libgcj-java-placeholder.sh

This script is a placeholder for the /usr/bin/jav
a
master link required by jpackage.org conventions.
  libgcj's
rmiregistry, rmic and jar tools are now slave sym
links to these
masters, and are managed by the alternatives(8) s
ystem.

This change was necessary because the rmiregistry
, rmic and jar tools
installed by previous versions of libgcj conflict
ed with symlinks
installed by jpackage.org JVM packages.
Exception in thread "main" java.lang.ClassFormatE
rror: Installer (unused data before end of file)
   at _Jv_ClassReader.throw_class_format_error(by
te) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_ClassReader.parse() (/usr/lib/libgcj.so
.5.0.0)
   at _Jv_DefineClass(java.lang.Class, byte[], in
t, int) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.VMClassLoader.defineClass(java.la
ng.ClassLoader, java.lang.String, byte[], int, in
t, java.security.ProtectionDomain) (/usr/lib/libg
cj.so.5.0.0)
   at java.lang.ClassLoader.defineClass(java.lang
.String, byte[], int, int, java.security.Protecti
onDomain) (/usr/lib/libgcj.so.5.0.0)
   at java.security.SecureClassLoader.defineClass
(java.lang.String, byte[], int, int, java.securit
y.CodeSource) (/usr/lib/libgcj.so.5.0.0)
   at java.net.URLClassLoader.findClass(java.lang
.String) (/usr/lib/libgcj.so.5.0.0)
   at gnu.gcj.runtime.VMClassLoader.findClass(jav
a.lang.String) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.S
tring, boolean) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_FindClass(_Jv_Utf8Const, java.lang.Clas
sLoader) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.Class.forName(java.lang.String, b
oolean, java.lang.ClassLoader) (/usr/lib/libgcj.s
o.5.0.0)
   at java.lang.Class.forName(java.lang.String) (
/usr/lib/libgcj.so.5.0.0)
   at gnu.gcj.runtime.FirstThread.run() (/usr/lib
/libgcj.so.5.0.0)
   at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/l
ibgcj.so.5.0.0)
   at _Jv_RunMain(java.lang.Class, byte const, in
t, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
   at __libc_start_main (/lib/tls/libc-2.3.3.so)


这怎么办阿?
发表于 2005-11-21 20:35:27 | 显示全部楼层
Post by yangds
文件名是bluej-205.jar
执行:java -jar bluej-205.jar
显示如下:
libgcj-java-placeholder.sh

This script is a placeholder for the /usr/bin/jav
a
master link required by jpackage.org conventions.
  libgcj's
rmiregistry, rmic and jar tools are now slave sym
links to these
masters, and are managed by the alternatives(8) s
ystem.

This change was necessary because the rmiregistry
, rmic and jar tools
installed by previous versions of libgcj conflict
ed with symlinks
installed by jpackage.org JVM packages.
Exception in thread "main" java.lang.ClassFormatE
rror: Installer (unused data before end of file)
   at _Jv_ClassReader.throw_class_format_error(by
te) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_ClassReader.parse() (/usr/lib/libgcj.so
.5.0.0)
   at _Jv_DefineClass(java.lang.Class, byte[], in
t, int) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.VMClassLoader.defineClass(java.la
ng.ClassLoader, java.lang.String, byte[], int, in
t, java.security.ProtectionDomain) (/usr/lib/libg
cj.so.5.0.0)
   at java.lang.ClassLoader.defineClass(java.lang
.String, byte[], int, int, java.security.Protecti
onDomain) (/usr/lib/libgcj.so.5.0.0)
   at java.security.SecureClassLoader.defineClass
(java.lang.String, byte[], int, int, java.securit
y.CodeSource) (/usr/lib/libgcj.so.5.0.0)
   at java.net.URLClassLoader.findClass(java.lang
.String) (/usr/lib/libgcj.so.5.0.0)
   at gnu.gcj.runtime.VMClassLoader.findClass(jav
a.lang.String) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.S
tring, boolean) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_FindClass(_Jv_Utf8Const, java.lang.Clas
sLoader) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.Class.forName(java.lang.String, b
oolean, java.lang.ClassLoader) (/usr/lib/libgcj.s
o.5.0.0)
   at java.lang.Class.forName(java.lang.String) (
/usr/lib/libgcj.so.5.0.0)
   at gnu.gcj.runtime.FirstThread.run() (/usr/lib
/libgcj.so.5.0.0)
   at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/l
ibgcj.so.5.0.0)
   at _Jv_RunMain(java.lang.Class, byte const, in
t, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
   at __libc_start_main (/lib/tls/libc-2.3.3.so)


这怎么办阿?

bluej是做什么的呀?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-21 21:48:00 | 显示全部楼层
是一个java的集成编译器阿!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表