Skip to main content



      Home
Home » Newcomers » Newcomers » The source attachment does not contain the source for the file
The source attachment does not contain the source for the file [message #248899] Wed, 13 February 2008 17:28
Eclipse UserFriend
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?
Previous Topic:eclipse unable to start
Next Topic:make clean or build all
Goto Forum:
  


Current Time: Wed May 14 07:28:46 EDT 2025

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

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

Back to the top