> Actually I had to also specify the version of the
> source.
I'm not using this options very often :)
--
Alexey A. Petrenko
Intel Middleware Products Division
Thanks Alexey,
This works now. Actually I had to also specify the version of the
source. When I only specify the -target this is what I get:
[EMAIL PROTECTED] bin]$ ~/jdk1.5.0_06/bin/javac -target 1.4 Test.java
javac: target release 1.4 conflicts with default source release 1.5
However, when i
[EMAIL PROTECTED] bin]$ ./java -version
java version 1.4.2 (subset)
(c) Copyright 1991, 2005 The Apache Software Foundation or its
licensors, as applicable.
What I want to do is compile the class with sun jdk and run it within
harmony. Is it possible to do something like that right now?
Tho
> ---Suns JDK
> [EMAIL PROTECTED] bin]$ ~/jdk1.5.0_06/bin/javac -version
> javac 1.5.0_06
>
> [EMAIL PROTECTED] bin]$ ~/jdk1.5.0_06/bin/javac Test.java
>
> [EMAIL PROTECTED] bin]$ ./java Test
> Exception in thread "main" java.lang.UnsupportedClassVersionError:
>
Hi,
Try java -version or which java - to clarify the version and path of the
java binary.
regards
karan malhi wrote:
Hi,
Tried to compile and run a simple hello world program. When I use the
eclipse programmer, it works fine, but when I use the sun's jdk
compiler, I get an error . I am
Hi,
Tried to compile and run a simple hello world program. When I use the
eclipse programmer, it works fine, but when I use the sun's jdk
compiler, I get an error . I am still trying to get a feel of this
project, so probably this was not supposed to work. Could you please
help me understand