[jbosstools-issues] [JBoss JIRA] (JBIDE-13768) Server Fails to Start (Kinda) - Mixing of JRE6/JDK7 on Mac OS X

Burr Sutter (JIRA) jira-events at lists.jboss.org
Wed Mar 13 21:36:43 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-13768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761055#comment-12761055 ] 

Burr Sutter commented on JBIDE-13768:
-------------------------------------

Another test, installing 6.0.1 and selecting the Java 7 option...the IDE fails to detect server startup.    
Perhaps my Java 7 installation is simply broken - from the perspective of JBDS
Configuration:
vm
/Library/Java/JavaVirtualMachines/1.7.0.jdk
eclipse.consoleLog=true
eclipse.home.location=file:/Users/burr/gettingstarted/jbds6.0.1.cr1_java_7/studio/
eclipse.launcher=/Users/burr/gettingstarted/jbds6.0.1.cr1_java_7/studio/JBoss Developer Studio.app/Contents/MacOS/jbdevstudio
eclipse.launcher.name=Jbdevstudio
eclipse.p2.data.area=@config.dir/../p2/
eclipse.p2.profile=jbds
eclipse.product=com.jboss.jbds.product.product
eclipse.startTime=1363224517334
eclipse.vm=/Library/Java/JavaVirtualMachines/1.7.0.jdk
eclipse.vmargs=-Djboss.discovery.directory.url=https://devstudio.jboss.com/updates/6.0/devstudio-directory.xml
-Xms512m
-Xmx1024m
-Dosgi.instance.area.default=@user.home/workspace
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Xdock:icon=../Resources/JBDevStudio.icns
-XX:MaxPermSize=256m
-Djava.class.path=/Users/burr/gettingstarted/jbds6.0.1.cr1_java_7/studio/JBoss Developer Studio.app/Contents/MacOS//../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
equinox.use.ds=true
file.encoding=US-ASCII
file.encoding.pkg=sun.io
file.separator=/
ftp.nonProxyHosts=local|*.local|169.254/16|*.169.254/16
gopherProxySet=false
gosh.args=--nointeractive
guice.disable.misplaced.annotation.check=true
java.awt.graphicsenv=sun.awt.CGraphicsEnvironment
java.awt.printerjob=sun.lwawt.macosx.CPrinterJob
java.class.path=/Users/burr/gettingstarted/jbds6.0.1.cr1_java_7/studio/JBoss Developer Studio.app/Contents/MacOS//../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
java.class.version=51.0
java.endorsed.dirs=/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/endorsed
java.ext.dirs=/Users/burr/Library/Java/Extensions:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/ext:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
java.home=/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre
java.io.tmpdir=/var/folders/st/1b3cldjx29l46j86zsf55p700000gp/T/
java.library.path=/Users/burr/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.7.0_04-b21
java.specification.name=Java Platform API Specification
java.specification.vendor=Oracle Corporation
java.specification.version=1.7
java.vendor=Oracle Corporation
java.vendor.url=http://java.oracle.com/
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
java.version=1.7.0_04
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Oracle Corporation
java.vm.specification.version=1.7
java.vm.vendor=Oracle Corporation
java.vm.version=23.0-b21
jboss.discovery.directory.url=https://devstudio.jboss.com/updates/6.0/devstudio-directory.xml
line.separator=


                
> Server Fails to Start (Kinda) - Mixing of JRE6/JDK7 on Mac OS X
> ---------------------------------------------------------------
>
>                 Key: JBIDE-13768
>                 URL: https://issues.jboss.org/browse/JBIDE-13768
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS/Servers
>            Reporter: Burr Sutter
>         Attachments: Error_Failed_to_start.png, failed_start.png, Installation1.png, runtime_JDK_7_selection.png, server_state_detectors.png
>
>
> My Mac has both the Apple Java 6 and Oracle Java 7 installed.  
> If I take the defaults from the JBDS Installer, allowing it to pick a Java 6 JRE, but then manually adding a server with Java 7 - the IDE fails to see that the server started.
> Installation1.png - a screenshot of the defaults selected by the installer.
> This places the following in my jbdevstudio.ini
> -vm
> /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
> and in About - Installation Details - Configuration:
> -vm
> /System/Library/Frameworks/JavaVM.framework
> Adding a New Server (EAP 6 or 6.1) - but selecting Java 7 for the Runtime - is where the IDE fails to see that the server has started (runtime_JDK_7_selection.png)
> The result is a failed start (failed_start.png)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list