• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

J2ee error

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 1855
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Rahul Iyer
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Darya! I will download and install J2SE v1.4 ASAP. I will let you know once I get things working.
 
Rahul Iyer
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Darya,
I uninstalled J2se 1.6 and installed j2se1.4 and j2ee appears to be working fine! Thanks alot!
 
Darya Akbari
Ranch Hand
Posts: 1855
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You are welcome
 
Darya Akbari
Ranch Hand
Posts: 1855
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And welcome to JavaRanch .
 
I hired a bunch of ninjas. The fridge is empty, but I can't find them to tell them the mission.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic