QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 726|回复: 0

Java编译问题不知道怎么提示这个问题

[复制链接]
发表于 2005-3-8 00:07:06 | 显示全部楼层 |阅读模式
[root@localhost ~]# javac HelloWorld.java
libgcj-javac-placeholder.sh

This script is a placeholder for the /usr/bin/javac
master link required by jpackage.org conventions. libgcj's
rmiregistry, rmic and jar tools are now slave symlinks to these
masters, and are managed by the alternatives(Cool system.

This change was necessary because the rmiregistry, rmic and jar tools
installed by previous versions of libgcj conflicted with symlinks
installed by jpackage.org JVM packages.

jc1: out of memory allocating 1342179073 bytes after a total of 135168 bytes
[root@localhost ~]# java HelloWorld
libgcj-java-placeholder.sh

This script is a placeholder for the /usr/bin/java
master link required by jpackage.org conventions. libgcj's
rmiregistry, rmic and jar tools are now slave symlinks to these
masters, and are managed by the alternatives(Cool system.

This change was necessary because the rmiregistry, rmic and jar tools
installed by previous versions of libgcj conflicted with symlinks
installed by jpackage.org JVM packages.
Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld
at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/l ib/libgcj.so.5.0.0)
at __libc_start_main (/lib/tls/libc-2.3.3.so)
有点弄不明白第一次在Linux下用..所以想请教..可看了精华贴子么找到解决方法..所以向大家询问下
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-6 13:53 , Processed in 0.062728 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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