• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Java in Xcode & versions

Carlis

Senior member
I just started to do some exercises of java during my summer break. Now it seems that the java version on my computer is not the same as the one used in my handbook.

Im running OSX IV and xcode 2.4.1. How do I know what version of java Im running and do I only have to install a new version of java on my system to uppdate it for xcode as well?



 
Well the question is, is the version of Java on teh Mac older or newer than in your handbook?

You may alternatively want to check out Eclipse, that is built on java and by default handles java coding. It is an alright little IDE, I personally prefer XCode, but that is sometimes a little too much just for simple java or C++ programs.
 
you can open a terminal window and type "java -version" to see what you're running. On my MBP, it responds with

java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode)
 
Excelent. It seems I have the same one as you have. Like TheStu said it could be my book that is old... So I guess its online sources from now on. But the version of java is specific to my system rather then any program, right?
 
It should be system wide yes, If you were to get a new IDE that came with a new version of Java, then it would in theory update the whole system.
 
Back
Top