wood burning stoves*
The moose likes EJB and other Java EE Technologies and the fly likes J2ee error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "J2ee error" Watch "J2ee error" New topic
Author

J2ee error

Rahul Iyer
Greenhorn

Joined: Mar 17, 2007
Posts: 8
Hi,
I recently installed J2SE (jdk1.6.0) - It works fine.
After that I installed j2sdkee1.3

When i type "j2ee -verbose" at the command prompt, I get the following error:

The following are my settings:
Windows XP service pack 2

Path Variable:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM;C:\Program Files\Microsoft DirectX SDK (December 2006)\Utilities\Bin\x86;C:\Program Files\Wave Systems Corp\Dell Preboot Manager\Access Client\v5\;C:\Program Files\QuickTime\QTSystem\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;c:\Isoft\Java\jdk1.6.0\bin\;C:\Isoft\MySQL\MySQL Server 5.0\bin;C:\Isoft\php;C:\Isoft\j2sdkee1.3\bin

JAVA_HOME variable: C:\Isoft\Java\jdk1.6.0
J2EE_HOME variable: C:\Isoft\j2sdkee1.3
CLASSPATH: .;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip;C:\Isoft\j2sdkee1.3\lib\j2ee.jar

QTJAVA variable: C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip


Here is where I have installed my files:
C:\Isoft\Java\jdk1.6.0
C:\Isoft\Java\jre1.6.0
C:\Isoft\j2sdkee1.3

Please help me setup j2ee properly! Thank you.
Darya Akbari
Ranch Hand

Joined: Aug 21, 2004
Posts: 1855
Hi Rahul,

look at the first line in your Exception .

Originally posted by Rahul Iyer:
Warning: This J2EE SDK release is designed to run on J2SE 1.3


The EJB 2.0 spec guarantess ONLY J2SE 1.3 support. Now you try to use J2EE 1.3 which is based on EJB 2.0 with a higher version of J2SE than J2SE 1.3.

You can still use J2SE 1.4 (although not guranteed it's verified by experience). But from J2SE 5.0 on this does not work.

Look for more details the thread: HFEJB - compiling advice guy

Regards,
Darya


SCJP, SCJD, SCWCD, SCBCD
Rahul Iyer
Greenhorn

Joined: Mar 17, 2007
Posts: 8
Thanks Darya! I will download and install J2SE v1.4 ASAP. I will let you know once I get things working.
Rahul Iyer
Greenhorn

Joined: Mar 17, 2007
Posts: 8
Hi Darya,
I uninstalled J2se 1.6 and installed j2se1.4 and j2ee appears to be working fine! Thanks alot!
Darya Akbari
Ranch Hand

Joined: Aug 21, 2004
Posts: 1855
You are welcome
Darya Akbari
Ranch Hand

Joined: Aug 21, 2004
Posts: 1855
And welcome to JavaRanch .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: J2ee error
 
Similar Threads
Communications link failure
Applet notinited
ant not recognized...
java onn windows vista
Advice Client problem