- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Class Path problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2001 05:10 PM
тАО07-28-2001 05:10 PM
Class Path problem
I am developing java application in jdk1.3 in HP UX11.0 .
I had set the classpath for my java program to import a package from a jar file . I had set the class file to that jar file . But when i try to compile it gives me an error 'package not found' .
Can somebody help me in this , fast ...
Thanks
Balajee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2001 08:49 AM
тАО07-29-2001 08:49 AM
Re: Class Path problem
I assume you are setting the class path with the enviornment variable CLASSPATH, did you export the variable after setting it?
Also, have you tried setting the class path option on the compiler command line? Does this yield the same error?
Vic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2001 09:30 AM
тАО07-29-2001 09:30 AM
Re: Class Path problem
Ofcourse i exported after setting the classpath . and also tried the option of giving classpath while compiling . Both did not work .
Any pointers on this will be great .
Balajee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2001 06:49 AM
тАО08-01-2001 06:49 AM
Re: Class Path problem
The class path is typically not a problem to configure. I'm some what pressed for a decent idea here. I would say that the verbose option may reveal some info on why the compiler is not finding the class in your jar, this would at a minimum confirm that the path is being searched. Also, just to make sure that everything is what we expect in the jar, I would move it temporarily to your compile directory. This directory is searched by default before the class path. I know this is not optimal, but as a troubleshooting step I think this is apropriate. This has to be a simple problem, having the jar in the compile directory should work, if not examine class names and such.
vic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2001 10:43 PM
тАО08-30-2001 10:43 PM
Re: Class Path problem
Try to set the MOZILLA_HOME variable to your netscape install directory, maybe this helps.
Cheers
Oli