aspose file tools
The moose likes IDEs, Version Control and other tools and the fly likes classpath JBuilder6 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "classpath JBuilder6" Watch "classpath JBuilder6" New topic
Author

classpath JBuilder6

bob dapaah
Ranch Hand

Joined: Jan 15, 2002
Posts: 46
I have tried to compile the example given in Marty Hall's 'Core Servlets and Java Server Pages' where two classes reside in the same package (package moreservlets) in the deployment directory /webapps\ROOT\web-inf\classes\moreservlets. My development directory is E:\apps\moreservlets. One of the classes references the other class from the same package. The compiler claims not to 'know' about the referenced class.
The book suggests that the class path should be altered to show the development directory folder in the form: 'E:\apps\'. This allows the classes to compile at the command line but JBuilder6 still has problems finding the other class. I have tried adding the 'E:\apps\' path to the alter JDK's screen and to the project required libraries but to no avail.
has anyone else encountered this problem....very frustrating
Is there any way to get JBuilder6 to recognise the CLASSPATH?
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Have you specified an output path?

JBuilder will place compiled *.class files into the output directory (by default, 'classes'). This directory is appended to the CLASSPATH when compiling, so it should find your classes just fine.

By default it would look like:
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Here is the relevant part from JBuilder's docs:

I'm also moving this to the IDE forum.
[ March 01, 2002: Message edited by: Mike Curwen ]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: classpath JBuilder6
 
Similar Threads
JBuilder6
javax.sql - JBuilder6
Integration J2meToolkit with JBuilder6 Enterprise
JBuilder6 & servlet package/classpath problem
cant run packaged servlet - Pz Help