I just installed Java 6 version 3 on my computer and I was wondering if I have to update any files or any environment variables? I use Eclipse so do I have to update anything within the compiler? Thanks.
I got bitten by this today, when my production-server-application completely crashed everytime it launched.
It used some sun.misc-classes. :-[ :-[
So if you don’t make such silly mistakes, you’re pretty safe.
Further, Eclipse uses the JRE that is system-wide available. (cmd.exe -->> java.exe -version)
I hope you didn’t mess with env-vars like CLASSPATH and PATH, in which case you probably won’t even notice the transition to the latest update.
You should be able to tell from the Package Explorer window in Eclipse whether your projects are now using the new JRE. If not, you can right-click on the JRE listing, click configure, and browse your way to the new JDK directory.
In terms of changing anything, you probably won’t have to if you haven’t hard-coded any JDK paths yourself anywhere (e.g. in an Ant build file).
If you’re upgrading from 1.5 or earlier, you might want to check the setting for your compiler compliance level (Build Path -> Configure Build Path -> Java Compiler -> Compiler Compliance Level) and adjust it as you see fit…
So can I go ahead and just completely get rid of the Java files for the JDK in my environment variables? I’m going to try it.