Versions in Java

are there different versions of Java?

[44 byte] By [n2the8xa] at [2007-11-27 11:35:14]
# 1

Yes.

dwga at 2007-7-29 17:01:41 > top of Java-index,Java Essentials,New To Java...
# 2

Psst... tiny url...

BigDaddyLoveHandlesa at 2007-7-29 17:01:41 > top of Java-index,Java Essentials,New To Java...
# 3

> Psst... tiny url...

LOL.

~

yawmarka at 2007-7-29 17:01:41 > top of Java-index,Java Essentials,New To Java...
# 4

how do i find if the compiler supports this version or not?

n2the8xa at 2007-7-29 17:01:41 > top of Java-index,Java Essentials,New To Java...
# 5

javac -version

BigDaddyLoveHandlesa at 2007-7-29 17:01:41 > top of Java-index,Java Essentials,New To Java...
# 6

> how do i find if the compiler supports this version or not?

Read the documentation for your version. As a general rule, compilers will compile source for its version of the JDK and previous versions.

~

yawmarka at 2007-7-29 17:01:41 > top of Java-index,Java Essentials,New To Java...
# 7

javac -version

i dont know what that means. i am completely new to java

n2the8xa at 2007-7-29 17:01:41 > top of Java-index,Java Essentials,New To Java...
# 8

k, thanks for the help everyone

n2the8xa at 2007-7-29 17:01:41 > top of Java-index,Java Essentials,New To Java...
# 9

> javac -version

>

> i dont know what that means. i am completely new to

> java

Run the compiler with command line option "-version". It will print out a message that includes its version number.

BigDaddyLoveHandlesa at 2007-7-29 17:01:41 > top of Java-index,Java Essentials,New To Java...