facebook

macosx problem [Closed]

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #203070 Reply

    SeJo
    Member

    Hi all,

    I have installed ME and Eclipse on my mac. Recently there was a jdk update on macosx and this made that i can’t startup the tomcat server anymore. I found that the jdk location under the preference>MyEclipse>Application Servers> Tomcat 5>JDK is empty.
    The minute i try to set it, i can’t press the ok button anymore.
    So i think there is a glitch somewhere in the tool.
    I can reinstall the bugger, but wanted to see if there is anther solution before i try that:

    sys specs:
    Mac OSX 10.3.2
    Eclipse 2.1.2. build id: 200311030802
    ME 2.7RC1 build id: 200312091200

    someone a solution?

    greetings

    #203090 Reply

    Riyad Kalla
    Member

    SeJo,
    Check under Window>Prefs>Java>Installed JREs

    that you have your new JRE configured as a JDK (pointing to the JDK install dir) NOT the JRE install dir. After you make this change, you should be able to select it as the JDK to run the Tomcat server.

    #203128 Reply

    SeJo
    Member

    tried it all but the ok button didn’t click :p
    so went in the prefs file itself and changed it there

    #203133 Reply

    Riyad Kalla
    Member

    Wow nice job, I’m sorry this wasn’t an easier change.

    #203162 Reply

    Ken Addison
    Member

    @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

    #203163 Reply

    Riyad Kalla
    Member

    Guys thank you for the detail, this will help us figure out what is going on.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: macosx problem [Closed]

You must be logged in to post in the forum log in