F
frank
trying to make a java application to use packages now and having lots of
problems and i don't know why.
Just added to the top of each source file
package DBS_Intercept;
Compiled and and got the followig errors from Jbuilder
"DBS.java": Package
C:\data\JBFSA\may_05_demo_code\DBS_Intercept\DBS.java stated in source
DBS_Intercept does not match directory
C:\data\JBFSA\may_05_demo_code\DBS_Intercept\DBS.java. at line 37, column 9
"XSS.java": Package
C:\data\JBFSA\may_05_demo_code\DBS_Intercept\XSS.java stated in source
DBS_Intercept does not match directory
C:\data\JBFSA\may_05_demo_code\DBS_Intercept\XSS.java. at line 14, column 9
"JBFSAUtility.java": Package
C:\data\JBFSA\may_05_demo_code\DBS_Intercept\JBFSAUtility.java stated in
source DBS_Intercept does not match directory
C:\data\JBFSA\may_05_demo_code\DBS_Intercept\JBFSAUtility.java. at line
13, column 9
"XSSDP.java": Package
C:\data\JBFSA\may_05_demo_code\DBS_Intercept\XSSDP.java stated in source
DBS_Intercept does not match directory
C:\data\JBFSA\may_05_demo_code\DBS_Intercept\XSSDP.java. at line 15,
column 9
"RunDBS.java": Package
C:\data\JBFSA\may_05_demo_code\DBS_Intercept\RunDBS.java stated in
source DBS_Intercept does not match directory
C:\data\JBFSA\may_05_demo_code\DBS_Intercept\RunDBS.java. at line 10,
column 9
"CSDSMsg.java": Package
C:\data\JBFSA\may_05_demo_code\DBS_Intercept\CSDSMsg.java stated in
source DBS_Intercept does not match directory
C:\data\JBFSA\may_05_demo_code\DBS_Intercept\CSDSMsg.java. at line 16,
column 9
It's complaining about the package line in each case. Now if I use a
normal javac compile for each class it complains about not finding the
classes in each of the files (now because of the package statement).
Don't use packages it works fine. Never have a lot of luck with
packages I must be missing something fundamental here. The source and
class files are to all be in same directory DBS_Intercept
Any thoughts?
Thanks,
Frank
problems and i don't know why.
Just added to the top of each source file
package DBS_Intercept;
Compiled and and got the followig errors from Jbuilder
"DBS.java": Package
C:\data\JBFSA\may_05_demo_code\DBS_Intercept\DBS.java stated in source
DBS_Intercept does not match directory
C:\data\JBFSA\may_05_demo_code\DBS_Intercept\DBS.java. at line 37, column 9
"XSS.java": Package
C:\data\JBFSA\may_05_demo_code\DBS_Intercept\XSS.java stated in source
DBS_Intercept does not match directory
C:\data\JBFSA\may_05_demo_code\DBS_Intercept\XSS.java. at line 14, column 9
"JBFSAUtility.java": Package
C:\data\JBFSA\may_05_demo_code\DBS_Intercept\JBFSAUtility.java stated in
source DBS_Intercept does not match directory
C:\data\JBFSA\may_05_demo_code\DBS_Intercept\JBFSAUtility.java. at line
13, column 9
"XSSDP.java": Package
C:\data\JBFSA\may_05_demo_code\DBS_Intercept\XSSDP.java stated in source
DBS_Intercept does not match directory
C:\data\JBFSA\may_05_demo_code\DBS_Intercept\XSSDP.java. at line 15,
column 9
"RunDBS.java": Package
C:\data\JBFSA\may_05_demo_code\DBS_Intercept\RunDBS.java stated in
source DBS_Intercept does not match directory
C:\data\JBFSA\may_05_demo_code\DBS_Intercept\RunDBS.java. at line 10,
column 9
"CSDSMsg.java": Package
C:\data\JBFSA\may_05_demo_code\DBS_Intercept\CSDSMsg.java stated in
source DBS_Intercept does not match directory
C:\data\JBFSA\may_05_demo_code\DBS_Intercept\CSDSMsg.java. at line 16,
column 9
It's complaining about the package line in each case. Now if I use a
normal javac compile for each class it complains about not finding the
classes in each of the files (now because of the package statement).
Don't use packages it works fine. Never have a lot of luck with
packages I must be missing something fundamental here. The source and
class files are to all be in same directory DBS_Intercept
Any thoughts?
Thanks,
Frank