![]() ![]() ![]() bash_profile variable, but terminates it and moves to a prior version instead. So it seems that Eclipse is trying to use the. ![]() ![]() System/Library/Frameworks/amework/Versions/1.5.0/Home/bin/java" - whether or not the code successfully compiles and runs (i.e., whether it's new Java 5.0 code that fails, or a safe Hello World that runs). On the Eclipse Console toolbar (above the actual output area), it displays ".bash_profile has JAVA_HOME set to /System/Library/Frameworks/amework/Versions/1.5.0/Home/bin. The config.ini file in the Eclipse/configurations folder doesn't seem to store this variable. I've looked around in Eclipse (which I'm admittedly not very familiar with), but couldn't find any way to set this.So how do I configure Eclipse to use 1.5.0? When I do this, it's apparent that Eclipse is using a pre-1.5 compiler. So Java 5.0 is working from Terminal (bash).īut now I've installed Eclipse 3.0.2, and it works fine until I attempt to compile Java 5.0 code (for example, autoboxing "Integer i = 7 "). Initially, I had some difficulty setting the "CurrentJDK" alias to the new version of Java (the 1.5.0 directory). I'm running Tiger ( Java 5.0) on Tiger (Mac OS 10.4). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |