problem setting java_home and j2ee_home

M

Mohsen

Hello every one,
I have problem compiling my ejb application.

I have statement like:
import javax.ejb.* and compiler complains and says:

javax.ejb can not be resolved.

I think I might have environment variable setup problem..

I have:
C:\j2sdk1.4.2_10 and
C:\jdk1.5.0

JAVA_HOME=C:\j2sdk1.4.2_10
J2EE_HOME=C:\jdk1.5.0

on my computer I have setup the path as:
JAVA_HOME\bin
J2EE_HOME\bin

I must say that compiling simple Hello.java works fine.

Any suggestions?


Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top