Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forte and setting up classpath

Status
Not open for further replies.

iSeriesCodePoet

Programmer
Jan 11, 2001
1,373
US
I am new to java so be gentle on me...

I am trying to set up Forte for my java editor and I am unable to compile a program due to it not finding one of the imports I am doing. I think I have the classpath set up right (Win 2k). I have it set up as CLASSPATH .;c:\javaclass
The directory entered is where the import is. Do I have something set up wrong? I have not tried it in command line mode (not using Forte), I just thought of trying that.

Any help would be appreaciated... Mike Wills
RPG Programmer

"I am bad at math because God forgot to include math.h into my programming!"

Please let us (Tek-Tips members) know if the solutions I provide are helpful to you. Not only do my posts help you but they may help others.
 
Funny thing about IDEs is that they don't use the System CLASSPATH, they using explicitly set their own CLASSPATH. Check the Project Properties and make sure you have included the necessary libraries. Wushutwist
 
Nevermind I got it...should have asked my co-workers first. ;-)

What needs to be done is to "mount" the directory in Forte. That is done by going to File | Explorer. Then you can right click on Filesystems and mount a JAR or a Directory. Mike Wills
RPG Programmer

"I am bad at math because God forgot to include math.h into my programming!"

Please let us (Tek-Tips members) know if the solutions I provide are helpful to you. Not only do my posts help you but they may help others.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top