include package compile issue
I have the following compile issue. I have one package that is in com.ora.jsp.beans.email and another in com.ora.jsp.beans.user. Both of the packages compile in their respective directories. There package name are as stated above and reside in the following system paths.
when I try and include com.ora.jsp.beans.email in a file in the user package I get the following error.
[/web/yourxpre/public_html/WEB-INF/classes/com/ora/jsp/beans/user]# javac -classpath ../email/ *.java
XpressionsUser.java:4: package com.ora.jsp.beans does not exist
I get the same error if I use the entire classpath to email. The classes are compiled in the email directory. Any help would be great!!
Is it monday??!?! Shooting self now! SORRY!!
javac -classpath /web/yourxpre/public_html/WEB-INF/classes/ XpressionsUser.java
The class path goes to the directory that has com in it not actually to com.. Sorry to bother everyone!