Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Add path to Classpath using Eclipse

Thread Tools

Add path to Classpath using Eclipse

Posts: n/a

Hi guys,
I have a problem with a school project :
I wrote a class inside a package(TEST) in Eclipse that creates for
each request (thread) a new temporary unambiguous folder with the
following path (in Windows):


then my class appends a folder : \TMPx\ , where "x" is a random
In the latest folder the class creates a .class file ("Test.class")
(identical for all the different folder).
I have to execute the Test.class file , calling it from the package
"test" in eclipse (I redefinied the default classloader ).
How do I execute this class from my test package?
(I think I have to add something to the classpath but I don't know


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
.classpath file instead of the CLASSPATH Environment variable. Java 2 03-02-2008 08:19 AM
problem compiling project, classpath in xml ".classpath" "<classpathentry...>" Java 2 03-02-2007 12:37 PM
Add path to Classpath (using Eclipse) andrewzzz Java 0 01-31-2007 12:33 AM
while using javac -classpath some.jar (Where does classpath get stored?) Gabe Java 3 08-27-2004 07:02 PM
CLASSPATH, -cp and -classpath misunderstanding? Flip Java 3 02-09-2004 10:09 PM