permaculture playing cards
The moose likes JBoss/WildFly and the fly likes installing and configuring jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "installing and configuring jboss" Watch "installing and configuring jboss" New topic

installing and configuring jboss

nandan johri
Ranch Hand

Joined: Jan 12, 2006
Posts: 75
i tried ti install jboss on my system but on installing and typing run.bat and i getting the following exeception:

I have the websphere installed on my system and my JAVA_HOME is pointing to the jre v5.1.2 in websphere only .

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

D:\Documents and Settings\nandan.johri>c:

C:\>cd program files

C:\Program Files>cd jboss5

C:\Program Files\jboss5>cd bin

C:\Program Files\jboss5\bin>dir
Volume in drive C is GWCS61
Volume Serial Number is 785B-0381

Directory of C:\Program Files\jboss5\bin

05/05/2007 04:27 PM <DIR> .
05/05/2007 04:27 PM <DIR> ..
10/24/2005 03:22 AM 3,539
10/24/2005 03:22 AM 1,671 deployer.bat
10/24/2005 03:22 AM 2,649
10/24/2005 03:22 AM 2,463
10/24/2005 03:22 AM 3,750
10/24/2005 03:22 AM 3,140 run.bat
10/24/2005 03:22 AM 1,491 run.conf
10/24/2005 03:22 AM 37,292 run.jar
10/24/2005 03:22 AM 4,672
10/24/2005 03:22 AM 1,813 shutdown.bat
10/24/2005 03:22 AM 16,984 shutdown.jar
10/24/2005 03:22 AM 2,008
10/24/2005 03:23 AM 2,137 twiddle.bat
10/24/2005 03:23 AM 42,789 twiddle.jar
10/24/2005 03:23 AM 2,414
15 File(s) 128,812 bytes
2 Dir(s) 458,117,120 bytes free

C:\Program Files\jboss5\bin>run.bat
JBoss Bootstrap Environment
JBOSS_HOME: C:\Program Files\jboss5\bin\\..
JAVA: C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\eclip
JAVA_OPTS: -Xms128m -Xmx512m
CLASSPATH: C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\
eclipse\jre\lib\tools.jar;C:\Program Files\jboss5\bin\\run.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/jboss/Mai
n (Unsupported major.minor version 48.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
Press any key to continue . . .

please help me in what is going on here and how to fix .I have tried installing different versions of jboss and every time its throwing the same error.
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

Looks like you are using JBoss5 with JDK1.3 (which comes with WebSphere). You will have to use a minimum of JDK1.4 for this version of JBoss. Have a look at JBossVsJavaJDKVersionMatrix for more details

[My Blog] [JavaRanch Journal]
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

Read your post again. You mention:

and my JAVA_HOME is pointing to the jre v5.1.2

I'm not sure that's correct. From the command prompt go to C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\eclipse\jre\bin\ and run the following command:

That will show you the version of Java being used
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: installing and configuring jboss
It's not a secret anymore!