I've got machine which is using 2 versions of java(for eg. 6-th and 7-th). If I will run java -version
, the system will say it's 6-th. Is there an approach to set another java version for JBoss only?
To run JBoss EAP 6 with Java 8 you will at least need EAP 6.4. 1+ (OpenJDK 8) or EAP 6.3. 4 (OracleJDK 8). Note that JBoss AS 7.1.1.GA will not work with Java 8.
In the Java Control Panel, click on the Java tab. Verify that the latest Java Runtime version is enabled by checking the Enabled box. Click OK in Java Control Panel window to confirm changes and close the window. Try to run same applet and verify it is now running using latest version of Java installed in your system.
The list of supported Java environments can be found at http://www.jboss.com/products/platforms/application/supportedconfigurations/. A Java Development Kit (JDK) is required for development, and a Java Runtime Environment (JRE) is required to run JBoss Enterprise Application Platform.
java - Jboss eap7. 0 supported with JDK 7 or 8 - Stack Overflow. Stack Overflow for Teams – Start collaborating and sharing organizational knowledge.
Standalone
server or localdev
, change file standalone.conf
domain control
, change file domain.conf
in $JBOSS_HOME/bin
#JAVA_HOME="/opt/java/jdk" → JAVA_HOME="/path/to/jdk"
#JAVA="" → JAVA="$JAVA_HOME/bin/java"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With