e******r 发帖数: 220 | 1
tried to lauch from putty to exceed to display GUI. Does anyone have
idea about this? thanks a lot.
bash-2.05$ java -jar NumberAddition.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: my/
numberaddition/NumberAdditionUI (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.
ja |
g*****g 发帖数: 34805 | 2 This means you are trying to runn Java 1.5 compiled code in Java 1.4 JVM,
upgrade your JRE.
have
【在 e******r 的大作中提到】 : : tried to lauch from putty to exceed to display GUI. Does anyone have : idea about this? thanks a lot. : bash-2.05$ java -jar NumberAddition.jar : Exception in thread "main" java.lang.UnsupportedClassVersionError: my/ : numberaddition/NumberAdditionUI (Unsupported major.minor version 49.0) : at java.lang.ClassLoader.defineClass0(Native Method) : at java.lang.ClassLoader.defineClass(ClassLoader.java:539) : at java.security.SecureClassLoader.defineClass(SecureClassLoader. : ja
|
e******r 发帖数: 220 | 3 已经把JRE download了, how to configure my java path to be that
path?
【在 g*****g 的大作中提到】 : This means you are trying to runn Java 1.5 compiled code in Java 1.4 JVM, : upgrade your JRE. : : have
|
g*****g 发帖数: 34805 | 4 export JAVA_HOME=....
export PATH=.../bin
that
【在 e******r 的大作中提到】 : 已经把JRE download了, how to configure my java path to be that : path?
|
e******r 发帖数: 220 | 5 谢谢. 这个是在command line 运行, 还是要save到 profile file里的?
【在 g*****g 的大作中提到】 : export JAVA_HOME=.... : export PATH=.../bin : : that
|
g*****g 发帖数: 34805 | 6 It really depends on whether you want to setup this environment variable
for this user, for system, or just for this single process. I am pretty
bad on Unix admin, other people on this board can serve you better.
【在 e******r 的大作中提到】 : 谢谢. 这个是在command line 运行, 还是要save到 profile file里的?
|