
May 15th, 2001, 09:19 AM
|
|
Junior Member
|
|
Join Date: May 2001
Posts: 2
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Help Need on Directory Path Specifying
I had double checked yet, I still don't know what's going wrong. Can anyone please kindly pin point it out to me?
Below is the Partial Coding, System and Directory Setting Path
in BoUser.java which I had compiled, I had set :-
in BoUser.java file
package eFriendsNeBytes.Bo;
// ********** //
import java.io.*;
Note: BoUser compiled without any compilation error.
in DbiRegistration.java file
package eFriendsNeBytes.Dbi;
// ********** //
import java.util.*;
import java.sql.*;
import java.io.*;
import project.eFriendsNeBytes.Bo.*;
import eFriendsNeBytes.Bo.BoUser;
import eFriendsNeBytes.Bo.BoCountry;
Note: it compiled with the following error.
C:\Project\eFriendsNeBytes\Dbi>javac DbiRegistration.java
DbiRegistration.java:9: Package project.eFriendsNeBytes.Bo not found in import.
import project.eFriendsNeBytes.Bo.*;
^
DbiRegistration.java:11: Class eFriendsNeBytes.Bo.BoUser not found in import.
import eFriendsNeBytes.Bo.BoUser;
^
DbiRegistration.java:12: Class eFriendsNeBytes.Bo.BoCountry not found in import.
import eFriendsNeBytes.Bo.BoCountry;
^
DbiRegistration.java:48: Type expected.
{
^
4 errors
Please take note that the Bo and Dbi files is under 2 different sub-directory of the same parent directory.
Project
|--------> eFriendsNeBytes
|----------------- Bo
| ---------------- Dbi
|----------------- Dbh
| ---------------- App
System that I am currently using: Win98 operating system
Autoexec.bat setting :-
SET PATH=C:\MYSQL\BIN;C:\PROGRA~1\ULTRAE~1;C:\JDK12~1.2\BIN;C:\PROJECT\;.;%PATH%
SET TOMCAT_HOME=C:\TOMCAT
SET JAVA_HOME=C:\JDK12~1.2
SET CLASSPATH=%TOMCAT_HOME%\LIB\SERVLET.JAR; %TOMCAT_HOME%\WEBAPPS\WEB-INF\CLASSES\; C:\mysql\mm.mysql-2.0.4-bin.jar; C:\Project; C:\; .;
///////////////////////////////////////
I am really sorry bout this lengthy problem. But this is the best way I could shorten the length of this problem with every necessary information that may eventually be effecting this problem. Thanks for your help again.
Regards,
Randy
|