Results 1 to 9 of 9
  1. #1
    applewood13 is offline Member
    Join Date
    Dec 2009
    Posts
    14
    Rep Power
    0

    Default Dr Java compiler error "This application requires a Java Runtime Environment 1.5.0"

    Ive downloaded drjava from drjava.org and ive also downloaded Java SE Development Kit 6u17 for Windows from the sun website

    But when i try to load drjava i keep getting a window popping up saying "This application requires a Java Runtime Environment 1.5.0" it starts up a link to the java website to download java and when i go to download it it tells me i already have it installed.

    drjava works when i dont have the Java SE Development Kit but it wont compile because i dont have a compiler

    can anyone help?

    Thanks,
    -Vince

  2. #2
    gcampton Guest

    Default

    did you install the jdk to default directory? and if so did you install Dr.java after installing the jdk. Sometimes these text editors don't pick up on the jdk if you install them before hand or to different directories, there should be options in Dr.java to change the path to the compiler or you can try reinstalling Dr.java

    the path to default compiler is : C:\Program Files\Java\jdk1.6.0_17\bin

  3. #3
    applewood13 is offline Member
    Join Date
    Dec 2009
    Posts
    14
    Rep Power
    0

    Default

    i saved it to the default directory, and when i try to reinstall dr java it gives me the same window saying "This application requires a Java Runtime Environment 1.5.0" however if i remove the jdk it doesnt give me the window and i can use drjava. so am i missing software or am i downloading the wrong jdk? i got drjava and the jdk working on my desktop thats using vista but i cant get it working on my laptop using windows 7. Could that be the problem because when i tried transfering the jdk on my desktop to my laptop it gave me the error aswell.

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Seems to me that there is no compatible version for Windows 7.

    DrJava User Documentation

    Most of the software cannot use on any OS/Platform, there are specific requirements use them. Read the documentation before install any software next time. ;)

  5. #5
    gcampton Guest

    Default

    you may want to try:

    JCreator Downloads
    or
    TextPad Downloads

    also make sure your downloading the correct jdk:
    it's the first link on the page, and the documentation ( java api ) is the 7th download link.
    sun jdk


    Also you may want to consider putting your path to java into your windows environment variables, there are many posts about this on the forums. So easy search.

    bulletpoint:
    *copy location of jdk directory bin folder
    *navigate to path: - right click 'my computer' properties -> system -> advanced tab -> environment variables
    *append to the end of path the current jdk directory path bin folder.

  6. #6
    Allgorythm is offline Member
    Join Date
    Dec 2009
    Posts
    20
    Rep Power
    0

    Default

    if you want a shortcut, ill suggest you use Netbeans :D,

    just download the Bundle , and install the Jdk, it will automatically install the IDE as well.. thats why i like netbeans :D

  7. #7
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

  8. #8
    gcampton Guest

    Default

    so your offering to write a patch for Dr.Java for him ?
    :P

  9. #9
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. Replies: 4
    Last Post: 04-23-2010, 02:54 PM
  2. Replies: 1
    Last Post: 11-20-2009, 08:58 PM
  3. Replies: 2
    Last Post: 09-11-2009, 04:09 PM
  4. Replies: 2
    Last Post: 01-06-2009, 04:53 PM
  5. Replies: 1
    Last Post: 10-20-2008, 08:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •