Page 1 of 2 12 LastLast
Results 1 to 20 of 22

Thread: Java Issues

  1. #1
    Join Date
    May 2011
    Posts
    10
    Rep Power
    0

    Default Java Issues

    I don't really know where to begin.
    I found a web site that had free java tutorials.
    I followed all the instructions installed every piece of java software that I was
    supposed to.
    java_ee_sdk-6ul-web-windows.exe and jdk-6u21-windows-i586.exe
    I have the current java version installed and I even changed the Path and Classpath as instructed.
    I have a Vista and when I go to the Command Prompt and enter "javac" I'm still getting the "not recognized as an internal or external command operable program or batch file"

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,457
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by Sinking_Python View Post
    I have a Vista and when I go to the Command Prompt and enter "javac" I'm still getting the "not recognized as an internal or external command operable program or batch file"
    Find javac.exe, your Java compiler; add the directory where that file is stored to your path environment variable. That's all you have to do.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    Join Date
    May 2011
    Posts
    10
    Rep Power
    0

    Default

    I put javac.exe in nothing happened.
    I don't get this.
    add the directory where that file is stored to your path environment variable
    Could you break that down a little more.

  4. #4
    Join Date
    May 2011
    Posts
    10
    Rep Power
    0

    Default

    Would somebody out there please help me

  5. #5
    Join Date
    May 2011
    Posts
    10
    Rep Power
    0

    Default

    Well thanks for nothing.
    Well thanks for crushing my Java Dreams

  6. #6
    sibernewf is offline Member
    Join Date
    Mar 2011
    Posts
    48
    Rep Power
    0

    Default

    Sigh. Sometimes you need to help yourself.

    A simple search on how to modify your vista environment variables would have helped.

    Ok I use Vista as well and its pretty easy to setup environment variables.

    You will need to click on your start button, then select Control Panel.
    Then Open System.
    I think the next step is to click on "Advanced".
    Now click on the "Evironment Variables" button.

    Here is where you will find what you are looking for.

    You need to add to the "path" environment variable. so edit that and put in the full path to your java installation and save.

    then try again.

  7. #7
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    Go here if you are still stuck: TheNewBoston – Free Educational Video Tutorials on Computer Programming and More! Java Programming Tutorial – 1 – Installing the JDK


    Also, if you are going to follow a tutorial, I suggest you follow the official oracle tutorials which are here: The Really Big Index

  8. #8
    Join Date
    May 2011
    Posts
    10
    Rep Power
    0

    Default

    A simple search on how to modify your vista environment variables would have helped.
    Simple for you not for me.
    That thought never occurred to me.
    You have to think of the question to get the answer.

    You need to add to the "path" environment variable. so edit that and put in the full path to your java installation and save.
    I know where this is on my computer but I don't know what to type there.
    When I did it yesterday it was clearly written out.
    That's what I need step by step.

  9. #9
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    Check my link and follow it. It doesn't use the same os, but it should still be very similar. The link leads you through very well.

  10. #10
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,457
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by Sinking_Python View Post
    A simple search on how to modify your vista environment variables would have helped.
    Simple for you not for me.
    That thought never occurred to me.
    You have to think of the question to get the answer.

    You need to add to the "path" environment variable. so edit that and put in the full path to your java installation and save.
    I know where this is on my computer but I don't know what to type there.
    When I did it yesterday it was clearly written out.
    That's what I need step by step.
    You can also do it like this:

    1) open the 'start' menu box
    2) near the bottom type 'javac.exe' in the search box (don't type enter)
    3) near the top javac (the compiler) should be displayed
    4) right click on it and show the location where the file is stored
    5) add that directory to your path variable.

    Adding something to your path variable has been explained by someone else above. This all is just elementary knowledge of your MS Windows box.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  11. #11
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,967
    Rep Power
    19

    Default

    Quote Originally Posted by Sinking_Python View Post
    Well thanks for nothing.
    Well thanks for crushing my Java Dreams
    At the time you posted this it was gone midnight in the Netherlands.
    That's where Jos is.

  12. #12
    Join Date
    May 2011
    Posts
    10
    Rep Power
    0

    Default

    O.K I put javac.exe in didn't hit enter got Nothing Matches Your Search Results
    When I put just javac in I got eclipse.java-helios-SR2-win.zip
    Is that what I should be looking for.
    If so how do you open a zip file I haven't figured that one out yet.

    right click on it and show the location where the file is stored
    I used my word program for an example clicked properties\general and got this
    C:\Windows\Start Menu\Program\ Microsoft Office
    Is that what you're talking about and does it go in Path or Classpath or both

  13. #13
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,457
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by Sinking_Python View Post
    O.K I put javac.exe in didn't hit enter got Nothing Matches Your Search Results
    My guess is that you only downloaded the Java installation software but forgot to run it so it could actually install the JDK distribution ... you should've read what was written on that www page what to do to properly install the stuff.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  14. #14
    Join Date
    May 2011
    Posts
    10
    Rep Power
    0

    Default

    No I went through the run and installed

    These instructions are to help you download and install Java on your personal computer. You must install Java before installing Eclipse, and you will need both.

    The problem is the path deal and the eclipse deal

    Downloading and Installing Java On Windows:

    Prevent Errors like --> 'javac' is not recognized as an internal or external command

    1. Go to Oracle Technology Network for Java Developers and download the latest Version of Jave SDK or any Jace SDK as per your requirement and install on your system.
    Did that that's when I was prompted to do this java_ee_sdk-6ul-web-windows.exe
    Did that

    Did this
    Modify your system variable called "PATH" (so that programs can find where Java is located)either right-click on the My Computer icon or select "System" on the control panel. When the window titled "System Properties" appears, choose the tab at the top named "Advanced." Then, click on "Environment Variables." In the bottom window that shows system variables, select "Path" and then click on "Edit..." Add C:\j2sdk1.5.0_04\bin as the first item in the list. Note that all items are separated by a semicolon, with no spaces around the semicolon. You should end up with a path variable that looks something like
    C:\j2sdk1.5.0_04\bin;C:\WINNT\system32;C:\WINNT;C: \WINNT\system32\Wbem

    Don't get this
    "make sure that the location where Java will be installed is at the top level of your C: drive"
    Don't know how to open a zip file you didn't answer that or this
    right click on it and show the location where the file is stored
    I used my word program for an example clicked properties\general and got this
    C:\Windows\Start Menu\Program\ Microsoft Office
    Is that what you're talking about and does it go in Path or Classpath or both

  15. #15
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,202
    Rep Power
    19

    Default

    Did that that's when I was prompted to do this java_ee_sdk-6ul-web-windows.exe
    Download and install the Java SE SDK, not Java EE.

    db

  16. #16
    Join Date
    May 2011
    Posts
    10
    Rep Power
    0

    Default

    Jave SDK or any Jace SDK

    jdk-6u21-windows-i586.exe

    This is the jdk correct if so already did that

    The problem is I don't know what to put in the class path deal or how to open a zip file
    eclipse.java-helios-SR2-win.zip thats the compiler right


    Don't get this
    "make sure that the location where Java will be installed is at the top level of your C: drive"

    right click on it and show the location where the file is stored
    I used my word program for an example clicked properties\general and got this
    C:\Windows\Start Menu\Program\ Microsoft Office
    Is that what you're talking about and does it go in Path or Classpath or both

    Nobody's answered that

  17. #17
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,457
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by Sinking_Python View Post
    JNobody's answered that
    Please quote properly; obviously you haven't installed the SE JDK (as Darryl already mentioned) properly, otherwise the search functionality from your MS Windows installation would've found javac.exe. It isn't there so you have to fix that first. Installing a Java SE JDK is easy: click the appropriate link and sit back.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  18. #18
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    7

    Default

    "make sure that the location where Java will be installed is at the top level of your C: drive"

    Means, that the JDK folder should be stored in your computer's root level. Meaning, when you go to 'My Computer', open C, it is right there. It should not be zipped, it should just be a folder full of stuff. Your PATH variable should point to this location, so that it can find the java executables (like javac, java, etc...). So, for example, if the java executables are in C:jdk\bin\ then this is where your PATH should point to.

  19. #19
    Join Date
    May 2011
    Posts
    10
    Rep Power
    0

    Default

    How do you mark a post as closed

  20. #20
    Toll's Avatar
    Toll is offline Senior Member
    Join Date
    May 2011
    Location
    Sweden
    Posts
    392
    Rep Power
    4

    Default

    You can mark it as solved at the top under "Thread tools". Only mods can close, I think.

Page 1 of 2 12 LastLast

Similar Threads

  1. having issues with this java code...please help out
    By oenhouse in forum New To Java
    Replies: 4
    Last Post: 12-20-2010, 01:21 PM
  2. Issues with updating a canvas in Java
    By Sandworm in forum Advanced Java
    Replies: 1
    Last Post: 11-19-2009, 08:58 AM
  3. Issues with a particular website (Java + forms)
    By aromes in forum Advanced Java
    Replies: 1
    Last Post: 04-13-2009, 03:16 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
  •