aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes I am brand new to EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "I am brand new to EJB" Watch "I am brand new to EJB" New topic
Author

I am brand new to EJB

Edelweiss Cierniak
Greenhorn

Joined: Mar 31, 2003
Posts: 15
Today I downloaded J2ee 1.4 from Sun site, and tried to play with it.
I can run the sample using ant.
but when I try to type in some java files( I copied from Headfirst EJB book), and tried to compile using
javac *.java
I got: symbol not found: javax.rmi.RemoteException.
I did include j2ee.jar in the classpath. What else do I need to set up? or there are more jar files to download?
Bow!!
[ December 20, 2003: Message edited by: Edelweiss Cierniak ]
Edelweiss Cierniak
Greenhorn

Joined: Mar 31, 2003
Posts: 15
one more confusion.
is jdk1.3 included in j2ee 1.4, should I downloaded jdk first before I install j2ee 1.4?
Javax.rmi.RemoteException is in jdk1.3? if so, why the samples provided in j2ee were able to be compiled. is that because Ant provided jar files for RemoteException? Where are the jar files?
Thanks very much.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
I don't know what the deal is with javax.rmi.RemoteException (java.rmi.RemoteException is part of the JDK), but generally you need to install both a standard JDK and the J2EE SDK.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
Consider Paul's rocket mass heater.
 
subject: I am brand new to EJB