aspose file tools*
The moose likes JBoss/WildFly and the fly likes How to deploy applications created with Eclipse Indigo 3.7  in Jboss 5.0 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 "How to deploy applications created with Eclipse Indigo 3.7  in Jboss 5.0 " Watch "How to deploy applications created with Eclipse Indigo 3.7  in Jboss 5.0 " New topic
Author

How to deploy applications created with Eclipse Indigo 3.7 in Jboss 5.0

Nid Arora
Greenhorn

Joined: Feb 27, 2013
Posts: 1
I am using Eclipse Indigo 3.7 to deploy the applications on Jboss 5.0.

The default JRE for Eclipse is Java 7 .
Jboss 5.0 is not compatible with Java 7
https://issues.jboss.org/browse/JBPAPP-7046?_sscc=t

When I try to run Jboss I get following exception



The same problem is replicated in http://itpete.blogspot.com/

I tried running Eclipse and Jboss with Java 5 and got bad .class file exception.

Is there any way to run Jboss 5 with Eclipse Indigo 3.7?
Prabhakar Reddy Bokka
Ranch Hand

Joined: Jul 26, 2005
Posts: 189

Change your project build path to use JRE version that is compatible with Jboss 5.
That resolves the inconsistency of the versions.


SCJP 5, SCWCD 5
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to deploy applications created with Eclipse Indigo 3.7 in Jboss 5.0