Results 1 to 6 of 6

Thread: Problem with jre of jdk1.5.0_04

  1. #1
    Join Date
    Jan 2010
    Posts
    64

    Problem with jre of jdk1.5.0_04

    I judge a grad a new system and I also like the JDK6 times (more precisely, it is 1.5.0_04 installed). The installation once the JDK to
    D: \ Java \ jdk1.5.0_04

    and the normal JRE after
    D: \ Java \ jre1.5.0_04

    installed. Where it is in the folder of JDK JRE still is one. Now I wanted to install ant, and just bake a sample program, but Ant denied me the service, with the message that the tools jar was not found. And that Ant they jre1.5.0_04 \ lib in searches. But since there is no yes, because the tools. Jar there is indeed only in the JDK. So I'm all for my environment variables considered and I see there: there is nothing. Any records that have even the slightest what to do with Java. But if I on the console "java-version" text box that I get the normal version issued. How can that be? It must be somehow stored, accessed what. How can Windows run the command "java" when there in no single variable which is Java? How can I make Ant to that of the JRE, but in the JDK is in not looking? Please help to solve my problem.

  2. #2
    Join Date
    Mar 2008
    Posts
    258

    Re: Problem with jre of jdk1.5.0_04

    I think that you might not have set the environment variable properly. Set the environment variable
    JAVA_HOME = D: \ Java \ jdk1.5.0_04
    and PATH = was-also-always-there-is ...;% JAVA_HOME \ bin%.
    After doing this, check again, according to me your problem must get solved.

  3. #3
    Join Date
    Apr 2008
    Posts
    193

    Re: Problem with jre of jdk1.5.0_04

    The initial step to acquire when you have a predicament with Ant is to read the manual entry for the task or perception that is giving you trouble. In particular, ensure the meaning of a task's attributes and nested elements. Conceivably an attribute is obtainable that would provide the behavior you necessitate. If you have problems with the manual itself, you can suggest a documentation bug report.

  4. #4
    Join Date
    Oct 2008
    Posts
    167

    Re: Problem with jre of jdk1.5.0_04

    Even I think that you are facing the PATH problem. The Java executable are no longer found. This is often the old, now wrong path in the PATH environment variable in Windows. Solution: Hold the Windows key and then press Pause / Break to go under the Advanced tab (Advanced) in environment variables (Environment Variables). Edit Path kick: old Java entry, for example, then add to the end:
    C: \ Program Files \ Java \ jdk1.5.0_04 \ bin

  5. #5
    Join Date
    Dec 2008
    Posts
    202

    Re: Problem with jre of jdk1.5.0_04

    I could also be a multiple installation problem. In the event that launched eclipse.exe no longer wants, or by double-clicking only a short blast of failure is to listen, it is possible that Eclipse is another / older uses javaw.exe to c: \ windows \ systems32. There, for example, make a folder "java-old" and all java files in the system32 folder, then push. Otherwise, it takes this javaw namely preferably in the PATH instead of the registered (as there usually will be searched only in system32).

  6. #6
    Join Date
    Dec 2008
    Posts
    161

    Re: Problem with jre of jdk1.5.0_04

    JAR problem link no longer work:
    New Windows Explorer [Windows Key + E], then Tools> Folder Options> File Types, search for JAR or possibly create new ones, and then click Advanced (Advanced):
    Action: open
    Application used to perform action: "C: \ Program Files \ Java \ jdk1.5.0_04 \ jre \ bin \ javaw.exe"-jar "% 1"% *

Similar Threads

  1. Replies: 3
    Last Post: 31-12-2011, 10:55 AM
  2. Sony VGNCS3 laptop 15 inch screen problem...LCD or CHIP problem?
    By Mick$Tyler in forum Hardware Peripherals
    Replies: 5
    Last Post: 31-10-2010, 06:49 AM
  3. Replies: 6
    Last Post: 27-07-2010, 12:10 AM
  4. hard disk problem, clicking sound and windows problem
    By rajat_2589 in forum Hardware Peripherals
    Replies: 1
    Last Post: 16-06-2010, 11:34 PM
  5. Replies: 4
    Last Post: 10-04-2010, 04:19 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,450,211.42846 seconds with 16 queries