Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Should I use J2EE or J2SE?

 
Chris Stewart
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm an intermediate Java developer that uses JMS, EJB, JDBC, and other J2EE APIs. I'm wondering which version of Java I should be using. I've tried moving from J2SE 1.3.0 to J2SE 1.4 but when I try and compile I get ""Control.java": Error #: 750 : initialization error: com.borland.compiler.symtab.LoadError: class file has wrong version 48.0". Then if I try to use J2EE 1.3.1 I get this error ""Control.java": Error #: 750 : initialization error: com.borland.compiler.symtab.LoadError: neither class nor source found for java.lang.Object". Any help here? Thanks in advance.
[ May 14, 2002: Message edited by: Chris Stewart ]
 
Roy Ben Ami
Ranch Hand
Posts: 732
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i dont know why are you getting those errors, but in my opinion if you are using EJB and other enterprise classes why not just d/l the J2EE which has everything included with it?
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using JBuilder or some IDE? It looks like an IDE configuration problem.
 
Chris Stewart
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, I'm using JBuilder 5.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well lets move this to the IDE forum and see if someone over there can help you.
 
Steve Wink
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Chris Stewart:
I'm an intermediate Java developer that uses JMS, EJB, JDBC, and other J2EE APIs. I'm wondering which version of Java I should be using. I've tried moving from J2SE 1.3.0 to J2SE 1.4 but when I try and compile I get ""Control.java": Error #: 750 : initialization error: com.borland.compiler.symtab.LoadError: class file has wrong version 48.0". Then if I try to use J2EE 1.3.1 I get this error ""Control.java": Error #: 750 : initialization error: com.borland.compiler.symtab.LoadError: neither class nor source found for java.lang.Object". Any help here? Thanks in advance.
[ May 14, 2002: Message edited by: Chris Stewart ]

JBuilder 5 won't work with JDK 1.4 unfortunately. If you have to use JBuilder, JBuilder 6 will apparently work with 1.4.
 
Roger Graff
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've tried moving from J2SE 1.3.0 to J2SE 1.4 Then if I try to use J2EE 1.3.1 .....

Do you understand that J2SE and J2EE are completely different API's?
J2SE 1.3: http://java.sun.com/j2se/1.3/docs/api/
J2EE 1.3:
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/

Note that J2EE is to be used in conjunction with J2SE, not just by itself.
-Graff
[ July 19, 2002: Message edited by: Roger Graff ]
[ July 19, 2002: Message edited by: Roger Graff ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic