SCJP
Visit my download page
Greg Charles wrote:
Your problem as I understand it is that you get compile errors when using javac, but not when using Eclipse.
Greg Charles wrote:... or you could post some code here, along with the compile error you're getting, and we could give you some advice.
Karthikeyan Nadanasabapathy wrote:You are missing neccessary Java EE bundle which contains "import javax.ejb.*;", " java.rmi.RemoteException" and other EE components(or jars). So download JDK with EE bundle and set the path and then compile with Javac. Search with the keyword "java ee sdk" and the first link will give you the download page. Hope it will help you.
Karthikeyan Nadanasabapathy wrote:So download JDK with EE bundle and set the path
Andrew Baba wrote:
Karthikeyan Nadanasabapathy wrote:So download JDK with EE bundle and set the path
How do I set the path ?
Joanne
Andrew Baba wrote:Yes, so I thought I may use different program to generate class file.
Riaan Nel wrote:
it hides a whole bunch of things that you should know about. You learn more through trial and error than using an IDE that does everything for you.
Riaan Nel wrote:
Andrew Baba wrote:Yes, so I thought I may use different program to generate class file.
I don't think that's a very good problem-solving approach, no?
Karthikeyan Nadanasabapathy wrote:try this simple thing, just copy your headfirst folder (which contains Advice.java,AdviceHome.java and AdviceBean.java) into the bin folder of your sdk
Karthikeyan Nadanasabapathy wrote:the bin folder and compile "javac headfirst.*" using command prompt (don't set any classpath or don't go inside headfirst and compile just be in bin). If it contains the appropriate ejb jars then you will get the proper result or else you are not having the necessary jars for ejb coding.
Joanne
Andrew Baba wrote:I know what are you talking about. I want to focus on EJB currently, that is way I want to find shortcut. You guys are right, but I am still in the same point before I posted this topic...
Andrew Baba wrote:@Joanne
Any ideas how to solve it Joanne ?
Joanne
Andrew Baba wrote:No. I am trying right now to set up classpath with http://docs.oracle.com/javase/1.3/docs/tooldocs/win32/classpath.html. I have no other ideas so far
Joanne
Joanne
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |