Skip to main content



      Home
Home » Newcomers » Newcomers » running myProc.jar in debug mode has the "source not found"
running myProc.jar in debug mode has the "source not found" [message #266194] Mon, 10 November 2008 17:02
Eclipse UserFriend
I use eclipse 3.4.1 on FC6.
My java source layouts are as follows:
/home/twong/java/myjar/com/mycomp/cpt/
/home/twong/java/myjar/com/mycomp/cptx/
/home/twong/java/myProc/myProc
/home/twong/java/myProc/myProc.mf

My workspace is at:
/home/twong/eclipseworkspace

My build instructions on bash are:
cd /home/twong/java/myjar
javac -classpath ibmpkcs.jar -d . /*.java com/mycomp/cptx/*.java
jar -cf myjar.jar com/mycomp/crypto/*.class
jar -cf myjarx.jar com/mycomp/cptx/*.class

myjar.jar and myjarx.jar are used to build myProc.jar.
cd /home/twong/java/myProc
javac -d . myProc/*.java
jar -cfm myProc.jar myProc.mf myProc/*.class

To run my application:
java -jar /home/twong/eclipseworkspace/myProc.jar

What is the best way to set up my project?
Now I setup my eclipse project to build the
/home/twong/eclipseworkspace/myProc.jar file.
Now I build myjar.jar and myjarx.jar on bash.
How to setup eclipse to build myjar.jar and myjarx.jar?

I added the /home/twong/java/myjar/com/mycomp/cpt/ and
/home/twong/java/myjar/com/mycomp/cptx/
to the debug configuration source path of the launch configuration
properties.
However, running myProc.jar in debug mode has the "source not found" error.
How to fix it?
Previous Topic:indenting method arguments
Next Topic:eclipse-cpp-ganymede-SR1-win32 Problem
Goto Forum:
  


Current Time: Tue Jul 22 02:53:02 EDT 2025

Powered by FUDForum. Page generated in 0.27379 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top