Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: javac is noty working in window8

  1. #1
    Junior Member
    Join Date
    Aug 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default javac is noty working in window8

    Javac is not working in widnows 8.
    i have 3 files in java folder jdk1.8.0 , jre7,jre8..
    i have set path Variable to C:\Program Files\Java\jdk1.8.0\bin in enviornment variable.
    i have tired every possible way but none of them working .
    any suggestion what i am doing wrong .


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,262
    Thanks
    176
    Thanked 821 Times in 764 Posts
    Blog Entries
    5

    Default Re: javac is noty working in window8

    1) Double check the Path (jdk 1.8?) 2) If you have not closed the command prompt after changing the PATH do so and launch a new instance 3) if all else fails, restart your computer

  3. #3
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,105
    Thanks
    48
    Thanked 2,153 Times in 2,126 Posts

    Default Re: javac is noty working in window8

    Does javac work if you provide the full path to the command when trying to execute it? For example:
    D:\Java\jdk1.7.0.7\bin\javac.exe -cp . -Xlint TestCode14.java
    If you don't understand my answer, don't ignore it, ask a question.

  4. #4
    Junior Member
    Join Date
    Aug 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: javac is noty working in window8

    Thanks Copeg and Norm for uour suggestion . Now javac is working

Similar Threads

  1. [SOLVED] Javac Not recognized?
    By Future_Programmer in forum Java Theory & Questions
    Replies: 4
    Last Post: June 12th, 2013, 06:04 AM
  2. Can't get Javac to work.
    By klkser3 in forum Java Theory & Questions
    Replies: 3
    Last Post: December 11th, 2012, 06:55 AM
  3. JAVAC
    By iansmiler in forum What's Wrong With My Code?
    Replies: 6
    Last Post: November 27th, 2012, 02:45 PM
  4. javac help
    By mjpam in forum Java Theory & Questions
    Replies: 7
    Last Post: February 16th, 2011, 09:46 AM
  5. Problem of executing java.exe. How to code from absolute scratch?
    By sepalm in forum Java Theory & Questions
    Replies: 13
    Last Post: November 12th, 2008, 06:48 AM

Tags for this Thread