| Author |
New J2EE jdk
|
Steven Broadbent
Ranch Hand
Joined: Dec 10, 2002
Posts: 400
|
|
I've been using jcreator with j2se 1.4 and now decided to use J2EE. I downloaded it from sun and installed it. I created a new profile for the j2ee jdk in jcreator , but when I compile it can;t find any j2ee classes javax.ejb.SessionBean; etc... Seems not to recognise or find the new jdk? Am I missing something obvious here? In the past I have used multiple jdks with JBuilder, but this has got me stumped.
|
"....bigmouth strikes again, and I've got no right to take my place with the human race...."<p>SCJP 1.4
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24041
|
|
Hi Steven, From your message, it sounds like you're under the impression that the J2EE and the J2SE SDK are, at some level, interchangeable. That's a sensible, if incorrect, assumption. J2EE is a collection of enterprise APIs, and is useful only in conjunction with a J2SDK, not in place of it. In particular, J2EE includes no virtual machine and no compiler. What you want to do is not try to set up J2EE as an alternate JDK, but simply add the J2EE *.jar files to the JCreator CLASSPATH.
|
[Jess in Action][AskingGoodQuestions]
|
 |
Dirk Schreckmann
Sheriff
Joined: Dec 10, 2001
Posts: 7023
|
|
|
Moving this to the IDEs and Other Tools forum, in case you're after more help on configuring JCreator...
|
[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
|
 |
Jeroen Wenting
Ranch Hand
Joined: Oct 12, 2000
Posts: 5093
|
|
Add the J2EE libraries (most notably j2ee.jar) to your project the same way you would any other 3rd party library. That's all there is to it, JCreator may even have an option to do so as standard (which you will likely have to configure to point to the new version rather than the one that would have shipped with JCreator).
|
42
|
 |
 |
|
|
subject: New J2EE jdk
|
|
|