Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-16-2008, 04:52 PM
Member
 
Join Date: Jan 2008
Posts: 4
itmasterw is on a distinguished road
Help with setting up Java
Hi, I used to have 2 I think, and I remember there where environment vars I had to set and all. I cannot remember what I had to do. But I just installed Java6 and I tried to run my usual "javac the app name .jav and it came back that javac is not a known program. I suspect that I do not have it set fully. Can someone pleas tell me how to do this.
Thank you
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-17-2008, 04:18 AM
gibsonrocker800's Avatar
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 143
gibsonrocker800 is on a distinguished road
Send a message via AIM to gibsonrocker800
This response is coming from a response i gave to another user:

"Ok, find out where your compiler is located. It's most likely going to be in C:\Program Files\Java\jdk1.6.0_02\bin (or whatever version of jdk you have). So, get the location of the bin folder in your JDK, and copy it.

Now, go to Start, Control Panel, Performance and Maintenance, System, Advanced tab, Environment variables, then go to the section labeled "System", and highlight the part called "Path" and and click Edit. Now, at the end of the text, put a semicolon (; ... if there isn't one already) and then paste the file path of your bin directory that you copied before. Make sure there's no space in between the semicolon and the filepath. Now click OK, and everything should work.

Let me know if you have any problems"
__________________
//Haha javac, can't see me now, can ya?
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 07:37 PM
Member
 
Join Date: Jan 2008
Posts: 4
itmasterw is on a distinguished road
Thanks
I will try that, it sounds like what I had to do before.
Thanks
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 01-17-2008, 07:54 PM
Member
 
Join Date: Jan 2008
Posts: 4
itmasterw is on a distinguished road
No after puting the path in the enviornment variables I am still getting the same error message above.
My path is C:\Program Files\Java\jdk1.6.0_04\bin\
and in the path I put
;C:\Program Files\Java\jdk1.6.0_04\bin\
is this right?
Please let me know if you have any ideas.
Thank you

Last edited by itmasterw : 01-17-2008 at 08:02 PM. Reason: I put in the wrong path
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 01-18-2008, 01:00 AM
gibsonrocker800's Avatar
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 143
gibsonrocker800 is on a distinguished road
Send a message via AIM to gibsonrocker800
I had the same problem too when i was setting it up. AH! i think what i did was. I actually double clicked the javac program. And a black DOS window came up and then disappeared. And then, i tried to change the path again. And it worked. Let me know how this works out for you.
__________________
//Haha javac, can't see me now, can ya?
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 01-18-2008, 07:02 PM
Member
 
Join Date: Jan 2008
Posts: 4
itmasterw is on a distinguished road
Thank you
Thanks that worked, I never would have thought of that.
Thank you for your help

Last edited by itmasterw : 01-18-2008 at 07:03 PM. Reason: spelling
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old 01-19-2008, 01:04 AM
gibsonrocker800's Avatar
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 143
gibsonrocker800 is on a distinguished road
Send a message via AIM to gibsonrocker800
Quote:
Originally Posted by itmasterw View Post
Thanks that worked, I never would have thought of that.
Thank you for your help
No problem man. Who would've thought right? I was just screwing around trying to figure it out and it worked hahah. Glad i could help man =]
__________________
//Haha javac, can't see me now, can ya?
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting the DSN tim Database 1 02-14-2008 11:55 PM
JTextArea setting newtojava7 New To Java 1 01-29-2008 04:57 AM
Help with setting up please BlitzA New To Java 6 12-29-2007 02:54 PM
Setting cookies in JSP Java Tip Java Tips 0 12-10-2007 07:33 PM
Setting Java Path bugger New To Java 2 11-22-2007 11:48 AM


All times are GMT +3. The time now is 02:19 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org