Results 1 to 4 of 4

Thread: Necessitate assist to run java compiler on windows

  1. #1
    Larry Kevin is offline Senior Member
    Join Date
    May 2011
    Posts
    199
    Rep Power
    2

    Default Necessitate assist to run java compiler on windows

    Hi, i have windows 7 system and now i got trouble through out run java program on my machine cmd prompt. i so soon set up java programmer kit from Sun Microsystems, and JRE on my system. it set up successfully minus any trouble. today, i just made one java program and then test out to run it on the cmd prompt utilize the javac cmd. My java document name is Javatest. So, i try to perform javac Javatest.java on cmd prompt as per observed in book. Then cmd prompt show me fault "cmd not determine". How is that potential?? i correctly set up java compiler on it but it won't finds in cmd prompt. Require assist to fix this trouble.

  2. #2
    Henry Orson is offline Senior Member
    Join Date
    May 2011
    Posts
    216
    Rep Power
    2

    Default

    Ok, this is not the software or hardware trouble. After set up java compiler in windows system, we require to set the environment variables path on system. This environment variable operate to finds the cmd or exe file that available in this path and set it as a global variable. so, that we can perform this exe document as a cmd on any drive of the system.

  3. #3
    Larry Kevin is offline Senior Member
    Join Date
    May 2011
    Posts
    199
    Rep Power
    2

    Default

    I realize that matter but can you describe the simplest way to set this enviornment variables in my windows 7. I am actually waiting for it. Please describe its procedure on step by step issue.

  4. #4
    Henry Orson is offline Senior Member
    Join Date
    May 2011
    Posts
    216
    Rep Power
    2

    Default

    Follow under procedure for setting java compiler papers as a global variable. Go to property window of my machine. Then hit the advanced tab and click on Enviornment variables button. Subsequently that you necessitate to copy the jdk directory path from the java set up directory. paste it to enviornment variables tab at the last of text. Earlier paste this path, utilize semicolon (';') for separation among 2 path. Click OK to done this procedure. that's it. Now you can capable to run this javac cmd on any repel on your cmd prompt.

Similar Threads

  1. Replies: 4
    Last Post: 01-16-2012, 11:46 AM
  2. Necessitate assist with extent put in.
    By Joyce Antony in forum other peripherals
    Replies: 2
    Last Post: 09-17-2011, 09:59 AM
  3. Replies: 3
    Last Post: 05-19-2011, 09:26 AM
  4. Windows necessitate Java to function
    By GonzalezBrown in forum Programming
    Replies: 1
    Last Post: 06-01-2010, 03:32 PM
  5. How to put in a Java Compiler
    By Millerjames in forum Programming
    Replies: 0
    Last Post: 05-06-2010, 03:39 PM

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
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48