由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - an error when I tried to launch a X-window app
相关主题
动态脚本适合做glue code, 静态语言适合做heavy lifting搞 Clojure 的几位怎么看 is Clojure dying 这个近期梗
有什么 Java 开源类库能做在线订单管理和付账?一道编程题 - throw Exceptions
c++程序员现在该何去何从?C++ exception handling 一问
请教怎么在laptop的ide上看server上的code?Two questions about handling exceptions in C++
请问一下,用什么语言/库/脚本作GUI比较方便?C++ Q15: throw
java 大牛们:6个小时一次full gc有没有问题C++ Exception Question
How does Garbage Collection in Java work?Google Glass sales halted but firm says kit is not dead
说scala好的进来看看请问Java 6.0 compliance level is unsupported是什么意思?
相关话题的讨论汇总
话题: java话题: tried话题: launch话题: window话题: error
进入Programming版参与讨论
1 (共1页)
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里的?
1 (共1页)
进入Programming版参与讨论
相关主题
请问Java 6.0 compliance level is unsupported是什么意思?请问一下,用什么语言/库/脚本作GUI比较方便?
Anybody using Java?java 大牛们:6个小时一次full gc有没有问题
20个包子求帮忙把命令行模式C程序改成窗口界面的How does Garbage Collection in Java work?
Java编程如何给JFreeChart增加内存?--OutOfMemoryError说scala好的进来看看
动态脚本适合做glue code, 静态语言适合做heavy lifting搞 Clojure 的几位怎么看 is Clojure dying 这个近期梗
有什么 Java 开源类库能做在线订单管理和付账?一道编程题 - throw Exceptions
c++程序员现在该何去何从?C++ exception handling 一问
请教怎么在laptop的ide上看server上的code?Two questions about handling exceptions in C++
相关话题的讨论汇总
话题: java话题: tried话题: launch话题: window话题: error