wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes Unable to find run.bat file in bin folder in jboss7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Unable to find run.bat file in bin folder in jboss7" Watch "Unable to find run.bat file in bin folder in jboss7" New topic
Author

Unable to find run.bat file in bin folder in jboss7

Ganeshkumar cheekati
Ranch Hand

Joined: Oct 13, 2008
Posts: 362
Hi
i downloaded jboss7 in which unable to find run.bat file in bin folder.so how can i start jboss manually?
i have found standalone.bat file which i used to execute this in cmd by giving following variables
i set JAVA_HOME:\Program Files\Java\jdk1.5.0_06
JBOSS_HOME:\gani\jboss-7.0.0.Beta2\jboss-7.0.0.Beta2
CLASSPATH:\Program Files\Java
but getting the following error:



D:\gani\jboss-7.0.0.Beta2\jboss-7.0.0.Beta2>cd bin

D:\gani\jboss-7.0.0.Beta2\jboss-7.0.0.Beta2\bin>standalone.bat
Config file not found D:\gani\jboss-7.0.0.Beta2\jboss-7.0.0.Beta2\bin\standalone
.conf.bat
===============================================================================

JBoss Bootstrap Environment

JBOSS_HOME: D:\gani\jboss-7.0.0.Beta2\jboss-7.0.0.Beta2

JAVA: D:\Program Files\Java\jdk1.5.0_06\bin\java

JAVA_OPTS: -Dprogram.name=standalone.bat -server

===============================================================================

Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version n
umber in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
4)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
Press any key to continue . . .

Can anyone help me?


SCJP5 and SCWCD1.5
Think Twice Act Wise...
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10067
    
163

JBoss AS7 is in Beta stages and is drastically different from the previous versions of JBoss AS. If you want to use JBoss AS7, then follow this http://community.jboss.org/wiki/JBossAS7UserGuide.

If you want to use a stable version of JBoss AS, then the latest one is JBoss AS 6.0.0.Final.

[My Blog] [JavaRanch Journal]
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10067
    
163

Also, JBoss AS6 and AS7 will require Java 6 to run. It won't run on Java 5 (the version you are using).
Ganeshkumar cheekati
Ranch Hand

Joined: Oct 13, 2008
Posts: 362
okay thanks a lot..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to find run.bat file in bin folder in jboss7