Win a copy of Rust Web Development this week in the Other Languages forum!

pranitha bommu

Greenhorn
+ Follow
since Sep 08, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by pranitha bommu

I did as you said and run.bat is running .
Thank you.
12 years ago
I am just starting EJB3 & using Enterprise JavaBeans 3.0 O'Reily book for JBoss. I have installed jboss4.0.5.GA in jboss4 folder.
Did I set the environment variables correctly?

This is the error:

C:\jboss4\bin>run.bat
\Java\jdk1.6.0_07\lib\tools.jar was unexpected at this time
.

Environment variables are set as follows

C:\>echo %JAVA_HOME%
C:\Program Files (x86)\Java\jdk1.6.0_07

C:\>echo %JBOSS_HOME%
C:\jboss4\bin

C:\>echo %path%
C:\jboss4\bin;C:\Program Files (x86)\PC Connectivity Solution\;C:\Windows\system32;C:\Program Files (x86)\Java\jdk1.6.0_07\bin;C:\Program Files (x86)\Java\jdk1.6.0_07\lib;

C:\>echo %classpath%
C:\Program Files (x86)\Java\jdk1.6.0_07\bin;C:\Program Files (x86)\Java\jdk1.6.0_07\lib;C:\Program Files (x86)\Java\jdk1.6.0_07\lib\tools.jar;
C:\Program Files (x86)\Java\jre1.6.0_07\lib\ext\QTJava.zip;C:\jboss4\bin\run.jar
12 years ago
hi
I'm using HeadFirst EJB book for the scbcd exam. In deploytools I'm unable to load the three .class files although I have given the correctroot of class files.The following is the error I 'm getting

java.lang.UnsupportedClassVersionError: Bad version number in .class file

I'm using j2ee1.4. Please help me to load the .class files