Menu

#118 Drjava won't start

open
nobody
5
2006-01-30
2006-01-30
Anonymous
No

I installed the latest jdk and jre and I've tried
other versions as well but no matter what I do drjava
will not start. More accurately I should say that it
begins to start and the DrJava text box pops up but
then it just gets stuck on that. I have no idea what
is wrong. Can anyone help me? I'm using windows xp
and I've tried both the windows app and the jar file
but the same result occurs.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I am having the same problem!

     
  • Mathias Ricken

    Mathias Ricken - 2006-02-13

    Logged In: YES
    user_id=1075744

    Could you please come back to SourceForge and update this support
    request some more information as detailed in previous comments?
    (The URL to go to is in this e-mail.) We'd like to help resolve
    this problem if we can, or we'd like to close the support ticket
    if the problem is resolved.

    Thanks,
    The DrJava Support Team

     
  • Mathias Ricken

    Mathias Ricken - 2006-02-13

    Logged In: YES
    user_id=1075744

    Does it ask for you to locate the tools.jar file?

     
  • Nobody/Anonymous

    Logged In: NO

    i, too, am having that problem. mine asked me to locate
    the tools.jar file the first time i tried to run it, so i
    did, but it wont start. the Dr java box comes up like it
    is going to start, but then the box just stays up forever
    and nothing happens.

     
  • Christopher Warrington

    Logged In: YES
    user_id=666678
    Originator: NO

    Any more information about this?

     
  • Christopher Warrington

    Logged In: YES
    user_id=666678
    Originator: NO

    In some cases, DrJava cannot automatically find the Java compiler. Often, it will display a dialog box indicating that it cannot find "tools.jar". This usually occurs when the Java compiler is either not installed or installed in a non-standard location.

    If you have not yet installed a Java Development Kit (JDK), you can download and install one from http://java.sun.com/javase/downloads/ (Note: Mac OS X users should already have one installed.). Keep in mind that a Java Runtime Environment is not a JDK. You will need to install both to develop with DrJava.

    After installing the JDK, DrJava should be able to find and use the newly installed compiler.

    If you do have a JDK installed, DrJava may be unable to find the compiler. In this case, you can tell DrJava where the compiler is. If the aforementioned "tools.jar" dialog box is displayed, click "Yes" and another dialog will be displayed allowing you to select the location of your "tool.jar" file. If the dialog is not displayed, select "Edit -> Preferences..." and click on the "..." to the right of the "tool.jar" field. This will display the same selection dialog.

    Now that the selection dialog is open, navigate through your file system and select your "tools.jar". On Windows, it can often be found in "C:\Program Files\Java\<jdk version>\lib\tools.jar". If you cannot find it here, search for "tools.jar" across all your hard drives. On Linux\Unix and Mac OS X, typing "locate tools.jar" at a command line can help you locate it.

    If none of these suggestions help, post another comment and we'll try to help you.

    Thanks,
    The DrJava Team

     
  • Christopher Warrington

    Logged In: YES
    user_id=666678
    Originator: NO

    Any more information about this?

     
  • Christopher Warrington

    Logged In: YES
    user_id=666678
    Originator: NO

    In some cases, DrJava cannot automatically find the Java compiler. Often, it will display a dialog box indicating that it cannot find "tools.jar". This usually occurs when the Java compiler is either not installed or installed in a non-standard location.

    If you have not yet installed a Java Development Kit (JDK), you can download and install one from http://java.sun.com/javase/downloads/ (Note: Mac OS X users should already have one installed.). Keep in mind that a Java Runtime Environment is not a JDK. You will need to install both to develop with DrJava.

    After installing the JDK, DrJava should be able to find and use the newly installed compiler.

    If you do have a JDK installed, DrJava may be unable to find the compiler. In this case, you can tell DrJava where the compiler is. If the aforementioned "tools.jar" dialog box is displayed, click "Yes" and another dialog will be displayed allowing you to select the location of your "tool.jar" file. If the dialog is not displayed, select "Edit -> Preferences..." and click on the "..." to the right of the "tool.jar" field. This will display the same selection dialog.

    Now that the selection dialog is open, navigate through your file system and select your "tools.jar". On Windows, it can often be found in "C:\Program Files\Java\<jdk version>\lib\tools.jar". If you cannot find it here, search for "tools.jar" across all your hard drives. On Linux\Unix and Mac OS X, typing "locate tools.jar" at a command line can help you locate it.

    If none of these suggestions help, post another comment and we'll try to help you.

    Thanks,
    The DrJava Team

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.