@SeJo wrote:
tried it all but the ok button didn’t click :p
so went in the prefs file itself and changed it there
Thanks SeJo,
I too had the same problem just after you did. Actually mine was configuring the JDK for JBoss3 but I too could not click OK on the Preferences panel.
I used your solution of fishing around for the prefs file and manually changed it and all is now well.
FYI – Below is what I did to fix this problem on MacOS X after upgrading to Java 1.4.2. I am just a user of myEclipse so this is NOT the official workaround.
Note-The directory names involved are preceded with “.” which makes them invisible in the Finder and most desktop editors. You will either have to do this in Terminal using vi (or similiar) or a desktop editor that can see invisible directories/files like JEdit.
1) Shutdown Eclipse.
2) Navigate to [YourEclipseDirectory]/workspace/.metadata/.plugins/
3) then open the com.genuitec.eclipse.easie.[whatever] directory where “[whatever]” is the name of the server you need to change the JDK to. (in my case “[whatever]” was jboss3)
4) Open in your text editor the file “pref_store.ini” and change the values of the properties with names of “JDK_HOME” and “JDK_INSTALLATION_NAME” to the appropriate JDK values.
Example:
JDK_HOME=/System//Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home
JDK_INSTALLATION_NAME=JVM 1.4.2 (MacOS X Default)
5) Save file and restart Eclipse and all should be well.
Hope this helps,
-ken addison
ThinkStar Corporation