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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running java outside the HTML directory (Newbie Question)

Status
Not open for further replies.

yim11

MIS
Jun 26, 2000
35
0
0
US
Hello,

I have installed Suns JDK 1.2.2 on a Redhat system.
I am able to run java applets in the html directory (/home/httpd/html) with no problems. BUT when I try to run applets from ~any~ other httpd directory (/home/httpd/cgi-bin, /home/httpd/cgi-bin/java) I always get a "class not found error, although the .class files are in the same directory as the pages calling them (and pointed to in the code "applet codebase=.....").
Also I have edited /etc/profile to include the above mentioned directories in the CLASSPATH section.

Have I forgotten something? Are there resrictions I am not aware of?

A N Y help on this would be greatly appreciated!!!

Thanks!
-Jim [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top