The source attachment does not contain the source for the file [message #248899] |
Wed, 13 February 2008 17:28 |
Eclipse User |
|
|
|
Originally posted by: wong_powah.yahoo.ca
My java program requires two jar files to run.
The two jar files are created as follows.
javac -classpath ibmpkcs.jar -d . com\mycomp\crypto\*.java
com\mycomp\cryptox\*.java com\mycomp\crypto\X509\*.java
jar -cf MyJCASP.jar com\mycomp\crypto\*.class
com\mycomp\crypto\X509\*.class
jar -cf MyJCESP.jar com\mycomp\cryptox\*.class
copy MyJCASP.jar C:\"Program Files"\Java\jdk1.5.0_06\jre\lib\ext
copy MyJCESP.jar C:\"Program Files"\Java\jdk1.5.0_06\jre\lib\ext
copy MyJCASP.jar C:\"Program Files"\mycomp\JSP\lib
copy MyJCESP.jar C:\"Program Files"\mycomp\JSP\lib
I attach source to the two jar files by "Project", "Properties", "Java
Build Path", "Libraries", "Source Attachment"
C:/win/Java_dir/Java/com/mycomp/crypto
C:/win/Java_dir/Java/com/mycomp/cryptox
Running my program in debug mode has this error:
The source attachment does not contain the source for the file
MyKeyStore.class
The file MyKeyStore.class is in the directory
C:/win/Java_dir/Java/com/mycomp/crypto.
Why there is an error?
|
|
|
Powered by
FUDForum. Page generated in 0.09368 seconds