Just installed JAVA on laptop, how to make it work?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Just installed JAVA on laptop, how to make it work?

Hybrid View

  1. #1
    Join Date
    Oct 2006
    Posts
    2

    Unhappy Just installed JAVA on laptop, how to make it work?

    I've just installed Java onto my laptop (the file I downloaded was jdk-1_5_0_09-windows-i586-p.exe from the Java website)
    I've installed it now but when I try to run the command javac it says it's not a recognised command. Is there anything extra I have to do to fix this problem or am I just missing something obvious?
    I hope it can be fixed because I'm trying to do my university coursework!!!

    Thanks for any replys,

    Phil

  2. #2
    Join Date
    May 2005
    Location
    Ontario, Canada
    Posts
    173
    Hi,
    Go to Control Panel
    System
    Advanced
    Environment Variables
    Edit the path there.
    There are two windows, and you have to add the java path into both of them.
    as example:
    C:\java\...

  3. #3
    Join Date
    Oct 2006
    Posts
    2
    hi, I tried to do that, and I created two variables, one on each of the windows and I entered C:\Program Files\Java with the variable name JAVA for each of them.
    it still gives me the same error message. any ideas?

    thanks,
    Phil

    edit: oh forgot to say that I have several subfolders in the Java folder they are:
    jdk1.5.0_09
    jre1.5.0_03
    jre1.5.0_06
    jre1.5.0_09

    should I direct it to one of these folders instead?
    Last edited by PhilUK; 11-02-2006 at 01:11 PM.

Similar Threads

  1. Multiple Java Financial NYC Job Openings
    By Recruitermd in forum Careers
    Replies: 0
    Last Post: 03-24-2005, 02:53 PM
  2. learning c# very confusing.
    By Mike Tsakiris in forum .NET
    Replies: 11
    Last Post: 10-04-2002, 05:32 PM
  3. Replies: 0
    Last Post: 01-31-2002, 11:08 PM
  4. Replies: 0
    Last Post: 10-19-2000, 12:31 AM
  5. How to make a mouse clickable Java application ?
    By Nijo Varghese in forum Java
    Replies: 2
    Last Post: 04-24-2000, 04:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center