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 02-06-2008, 06:52 PM
Member
 
Join Date: Nov 2007
Posts: 16
rgbosque is on a distinguished road
Set classPath?
hi guys,

i have a question bout how to set a classPath?

right now im not using IDE for my coding, i use notepad from windows the reason for this is i want to familiarize the basic and syntax of JAVA.

every time i compile my .java file i always find the BIN folder for javac? how can i set classPath so that i can directly compile my .java file.

if ever can you teach also some settings should be done first before coding.

Thanks in advance Guys...

Rodel
__________________
Its JAVA Time...
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-06-2008, 07:01 PM
tim's Avatar
tim tim is offline
Senior Member
 
Join Date: Dec 2007
Location: South Africa
Posts: 334
tim is on a distinguished road
See thread
Hello rgbosque.

I helped someone with this before. This thread explains it all with Windows command line with two examples.

I hope this helps.
__________________
If your ship has not come in yet then build a lighthouse.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 02-07-2008, 08:15 AM
Cnu Cnu is offline
Member
 
Join Date: Feb 2008
Posts: 13
Cnu is on a distinguished road
right click on mycomuter->properties->Advanced->Environment variables->new
path
set value to c:\jdk1.5\lib\tools.jar;
set classpath to %path%

and go to command prompt

enter java
or
javac
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 02-07-2008, 04:14 PM
Member
 
Join Date: Nov 2007
Posts: 16
rgbosque is on a distinguished road
thanks guys... it can help me studying java fast right now

keep in touch...
__________________
Its JAVA Time...
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
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
GNU Classpath 0.96.1 JavaBean Java Announcements 0 11-01-2007 06:14 PM
GNU Classpath 0.96 JavaBean Java Announcements 0 10-16-2007 08:35 PM
Doubt with classpath fred New To Java 1 07-24-2007 03:58 AM
Error : Invalid path, \bin\javac.exe -classpath Ed JCreator 2 07-03-2007 04:40 AM
Adding JARs to the classpath at runtime? johann_p Advanced Java 1 06-27-2007 12:42 AM


All times are GMT +3. The time now is 04:58 AM.


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