[jbosstools-issues] [JBoss JIRA] (JBDS-2180) Document the fact that Oracle OSX Java 7 is not supported by JBDS 5

Martin Malina (JIRA) jira-events at lists.jboss.org
Tue Jan 22 03:58:22 EST 2013


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

Martin Malina commented on JBDS-2180:
-------------------------------------

Michelle, I just verified this in JBDS 5.0.2 and I think it behaves still the same way as I originally described - on Mac, regardless of which JDK you run the installer with (Apple JDK 1.6 or Oracle JDK 1.7) and regardless of what JVM you select during installation, the installed JBDS will run with Apple JDK 1.6.
So users cannot really run into the situation when JBDS won't start at all - JBDS will automatically start with Java 1.6. The one odd thing is that when you run the installer with java 1.7 and leave the jvm as default in the installation but select 32bit, this 32bit setting will not be used and JBDS will start in 64bit mode. There are many combinations the user can select, so let me summarize:
1. Installer run with java 1.6 - java 1.6 will be used to run JBDS (regardless of what JVM you choose) and 32/64bit setting is honored
2. Installer run with java 1.7 and during installation
    a) default Java VM or path to Java 1.7 is entered and 32bit is selected - java 1.6 64bit will be used to run JBDS
    b) default Java VM or path to Java 1.7 is entered and 64bit is selected - java 1.6 64bit will be used to run JBDS
    c) path to Java 1.6 is entered and 32bit or 64bit is selected - everything works as expected and 32/64  selection is honored

So there are these problems included in this JIRA:
1. JBDS 5 will not run with Oracle JDK 1.7 on Mac (but I think it does run with Java 1.7 on other OSs)
2. When the installer is run with java 1.7 it may have unexpected behavior
3. Even if you choose java 1.7 during installation, java 1.6 will be always used

Note that all of the above applies to Mac only.
                
> Document the fact that Oracle OSX Java 7 is not supported by JBDS 5
> -------------------------------------------------------------------
>
>                 Key: JBDS-2180
>                 URL: https://issues.jboss.org/browse/JBDS-2180
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: documentation, installer
>    Affects Versions: 5.0.0.CR1
>         Environment: jbdevstudio-product-universal-5.0.0.v201205272317M-H143-CR1.jar
>            Reporter: Martin Malina
>            Assignee: Michelle Murray
>             Fix For: 5.0.2.GA
>
>
> I accidentally had my java set to java 1.7 on my mac computer:
> vokuro:5.0.0.CR1 rasp$ java -version
> java version "1.7.0_04"
> Java(TM) SE Runtime Environment (build 1.7.0_04-b21)
> Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode)
> When you then launch the installer using
> java -jar jbdevstudio-product-universal-5.0.0.v201205272317M-H143-CR1.jar
> everything seems ok, you are allowed to select either 32 or 64-bit installation, but regardless of what you choose, the 64-bit version will be installed.
> Not sure how this can be handled. At the very least we should disable the radio buttons and preselect 64-bit if that's what must be installed. But the fact is that JBDS will run with java 1.6 anyway. Even if you installed it using 1.7. So wouldn't it be possible to install the 32-bit version even if the installer is run using java 1.7 64-bit?
> FYI, on Mac OS X Lion, there are currently these jdk versions:
> Apple JDK 1.6 32-bit
> Apple JDK 1.6 64-bit
> Oracle JDK 1.7 64-bit
> I don't expect there will ever be Oracle JDK 1.7 32-bit available.

--
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