Results 1 to 20 of 22
Thread: Java Issues
- 05-16-2011, 09:31 PM #1
Member
- Join Date
- May 2011
- Posts
- 10
- Rep Power
- 0
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"
- 05-16-2011, 09:58 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,406
- Blog Entries
- 7
- Rep Power
- 17
- 05-16-2011, 10:37 PM #3
Member
- Join Date
- May 2011
- Posts
- 10
- Rep Power
- 0
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.
- 05-16-2011, 11:35 PM #4
Member
- Join Date
- May 2011
- Posts
- 10
- Rep Power
- 0
Would somebody out there please help me
- 05-17-2011, 12:08 AM #5
Member
- Join Date
- May 2011
- Posts
- 10
- Rep Power
- 0
Well thanks for nothing.
Well thanks for crushing my Java Dreams
- 05-17-2011, 12:57 AM #6
Member
- Join Date
- Mar 2011
- Posts
- 44
- Rep Power
- 0
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.
- 05-17-2011, 02:35 AM #7
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
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
- 05-17-2011, 02:42 AM #8
Member
- Join Date
- May 2011
- Posts
- 10
- Rep Power
- 0
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.
- 05-17-2011, 02:50 AM #9
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
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.
- 05-17-2011, 08:48 AM #10
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,406
- Blog Entries
- 7
- Rep Power
- 17
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,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
- 05-17-2011, 09:54 AM #11
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
- 05-17-2011, 06:55 PM #12
Member
- Join Date
- May 2011
- Posts
- 10
- Rep Power
- 0
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
- 05-17-2011, 07:25 PM #13
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,406
- Blog Entries
- 7
- Rep Power
- 17
When people rob a bank they get a penalty; when banks rob people they get a bonus.
- 05-17-2011, 07:46 PM #14
Member
- Join Date
- May 2011
- Posts
- 10
- Rep Power
- 0
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
- 05-17-2011, 07:56 PM #15
Download and install the Java SE SDK, not Java EE.Did that that's when I was prompted to do this java_ee_sdk-6ul-web-windows.exe
db
- 05-17-2011, 08:10 PM #16
Member
- Join Date
- May 2011
- Posts
- 10
- Rep Power
- 0
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
- 05-17-2011, 08:19 PM #17
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,406
- Blog Entries
- 7
- Rep Power
- 17
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,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
- 05-17-2011, 08:25 PM #18
"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.
- 05-17-2011, 10:42 PM #19
Member
- Join Date
- May 2011
- Posts
- 10
- Rep Power
- 0
How do you mark a post as closed
- 05-17-2011, 10:49 PM #20
Similar Threads
-
having issues with this java code...please help out
By oenhouse in forum New To JavaReplies: 4Last Post: 12-20-2010, 01:21 PM -
Issues with updating a canvas in Java
By Sandworm in forum Advanced JavaReplies: 1Last Post: 11-19-2009, 08:58 AM -
Issues with a particular website (Java + forms)
By aromes in forum Advanced JavaReplies: 1Last Post: 04-13-2009, 03:16 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks