Hello Jan,
I just experienced the same problem with JDeveloper 11.1.2.4 and I think, this is embarrassing for Oracle. Maybe they want to tell us: Better use Eclipse.
Wolfgang
Senior Principal Technical Consultant - Oracle ACE Director Moderator Posts: 36,684 Red Diamond
Jan, did you try jkd 1.7.0 by chance?
If not can you answer here so that I can test it over the weekend? There has been a backport request for a bug concerning jdev ui (https://java.net/jira/browse/ADFEMG-120) and I could not find the bug fix list for 11.1.2.4.0 (is not available right now).
Timo
Director of Product Management for Oracle's Cloud Development Tools Posts: 16,846 Employee
We are aware of this issue and looking into ways to fix it.
By the way this version of JDeveloper is certified with JDK 7 - so you can use that version to run JDeveloper.
http://www.oracle.com/technetwork/developer-tools/jdev/documentation/jdev11gr2-cert-405181.html#Operating_Systems
Senior Principal Technical Consultant - Oracle ACE Director Moderator Posts: 36,684 Red Diamond
Shay,
Jdev 11.1.1.7.0 is certified for jdk 1.7.0 too (http://www.oracle.com/technetwork/developer-tools/jdev/index-091111.html) but die not run well using it. That's the reason why I asked.
Do you have access to the bug fix document? I can't poem it, so I can't check which bugs have been fixed.
Timo
Thanks for your reply Wolfgang.
... I just experienced the same problem with JDeveloper 11.1.2.4 ...Thank you for the confirmation.
regards
Jan
Thanks for your reply Timo.
Timo Hahn wrote:
Jan, did you try jkd 1.7.0 by chance?
If not can you answer here so that I can test it over the weekend? ...No, I used "jdk-6u43-windows-x64.exe", which installs java version "1.6.0_43".
... I could not find the bug fix list for 11.1.2.4.0 (is not available right now).Maybe you are looking for section "Bugs Fixed in 11.1.2.4.0 "
at http://www.oracle.com/technetwork/developer-tools/jdev/jdev-11gr2-nf-404365.html
(It does not seem to mention bug '16630481' which you refer to at https://java.net/jira/browse/ADFEMG-120 and which currently also does not seem to be published on My Oracle Support.)
Do you know where Oracle has documented how to switch the JDK to use to run JDeveloper?
regards
Jan
Thanks for your reply Shay.
Shay Shmeltzer wrote:
We are aware of this issue and looking into ways to fix it. ...Thank you for the confirmation.
regards
Jan
Senior Principal Technical Consultant - Oracle ACE Director Moderator Posts: 36,684 Red Diamond
Jan, I have tried this but it links to the same page (http://www.oracle.com/technetwork/developer-tools/jdev/jdev-11gr2-nf-404365.html) , you are on.
I'll try it out over the weekend :-)
Timo
Director of Product Management for Oracle's Cloud Development Tools Posts: 16,846 Employee
Just one note about running with JDK7 - there is a known issue documented in the release notes with WLS and JDK7 - see:
Web Service generation only supported with JDK6 (Bug 13252751)
http://www.oracle.com/technetwork/developer-tools/jdev/documentation/11-124-rn-1942343.html
So we would still recommend running with JDK6 if you are using the embedded WLS.
Senior Principal Technical Consultant - Oracle ACE Director Moderator Posts: 36,684 Red Diamond
@Shay
there are some other bugs pending (check https://java.net/jira/browse/ADFEMG-120 Bug 14022488 - ADF TREE TABLE CONTROL BLANK WHEN ATTEMPTING TO DROP ON JSPX OR JSF PAGE and the requests for the back ports: Bug 16630481 - RFI BACKPORT OF BUG 14022488 FOR INCLUSION IN 11.1.2.4.0, Bug 16630487 - RFI BACKPORT OF BUG 14022488 FOR INCLUSION IN 11.1.1.9.0)
The backport did not happen for 11.1.2.4.0 as my tests showed.
Timo
Thanks for your reply Shay.
Shay Shmeltzer wrote:
... So we would still recommend running with JDK6 if you are using the embedded WLS.Do you know where Oracle has documented how to switch the JDK to use to run JDeveloper?
thanks
Jan
Senior Principal Technical Consultant - Oracle ACE Director Moderator Posts: 36,684 Red Diamond
Jan, it's documented here: http://docs.oracle.com/cd/E37975_01/install.111240/e17074/ojdig.htm#BDCFBDAC "5.3 Changing the JDK location". You have to jump to chapter 5 as the direct link to this chapter does not work (for me).
Timo
Thanks for your reply Timo.
Timo Hahn wrote:
Jan, it's documented here: http://docs.oracle.com/cd/E37975_01/install.111240/e17074/ojdig.htm#BDCFBDAC "5.3 Changing the JDK location". ...That seems to match with what I currently have in the file
at C:\oracle\jdevstudio111240-mw\jdeveloper\jdev\bin\jdev.conf
saying "SetJavaHome C:\Program Files\Java\jdk1.6.0_43"
regards
Jan
hi
If I check "Help" - "About" in JDeveloper 11.1.2.4.0, the Properties tab allows to find
java.home = C:\Program Files\Java\jdk1.6.0_43\jre
java.version = 1.6.0_43
If I try to find the same Java System properties for the running "IntegratedWebLogicServer" in JDeveloper, I am not sure how to best do this.
So, I deployed "systempropertiesweb.war" [1] which allows me to request
http://localhost:7101/systempropertiesweb/systemproperties?property=java.home
returning "java.home = C:\oracle\JD6908~1\JDK160~1\jre"
which for me matches "C:\oracle\jdevstudio111240-mw\jdk160_24\jre"
and
http://localhost:7101/systempropertiesweb/systemproperties?property=java.version
returning "java.version = 1.6.0_24"
So, these (JVMs / System property values) are not the same. Is this intended behaviour?
What would/should be the result when you "try jkd 1.7.0"?
- [1] at SystemPropertiesApp/SystemPropertiesWeb/deploy/systempropertiesweb.war
in http://www.consideringred.com/files/oracle/2013/SystemPropertiesApp-v0.01.zip
(see also forum thread "see Java System properties using WebLogic Server console"
at 2534523 )
thanks
Jan Vervecken
Senior Principal Technical Consultant - Oracle ACE Director Moderator Posts: 36,684 Red Diamond
Oh, I see the problem (may be).
Once you build the default domain the path to the jdk is hard coded into the setDomainEnv.sh (or setDomainEnv.cmd). To run the integrated wls using another jdk you have to edit this file. It's found under \system11.1.2.4.39.64.36\DefaultDomain\bin folder. In the file change the property
set SUN_JAVA_HOME=C:\Program Files\Java\jdk1.6.0_45If you use the generic installer (like I did) and point to the other JDK it sets this property right to the jdk you used when creating the default domain.
By the way, when you start the integrated wls you get the jdk version it's running on on the log window:
starting weblogic with Java version:
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)if I run using JDK 1.7 i get
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) Client VM (build 23.21-b01, mixed mode, sharing)Timo
Timo
Thanks for your reply Timo.
Timo Hahn wrote:
Oh, I see the problem (may be). ...Not sure if there is really a problem. That is why I posted some details about the behavour I see and asked about intended behaviour.
... If you use the generic installer (like I did) and point to the other JDK it sets this property right to the jdk you used when creating the default domain. ...Well, I used "Studio Edition 11.1.2.4.0 Windows Install ( jdevstudio11124install.exe ) " which seems to behave somewhat different when creating the domain for the "IntegratedWebLogicServer" in JDeveloper.
... By the way, when you start the integrated wls you get the jdk version it's running on on the log window: ...Sure, but being able to 2534523 provides more flexibility (on any WebLogic Server installation, or to get different property values).
... if I run using JDK 1.7 i get
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) Client VM (build 23.21-b01, mixed mode, sharing)Thanks for the confirmation.
regards
Jan
Accepted Answer
Thanks for reporting this. This was an oversight on our part.
Just a quick recap for anyone who may stumble on this post later. In JDeveloper 11.1.2.4.0, we bundle JDK 1.6 update 24 in the platform-specific installers (jdevstudio11124install.exe and jdevstudio11124install.bin). We had originally planned to uptake and include a more recent JDK 1.6 version as part of the 11.1.2.4.0 release, but due to reasons I will not go into here, we were unable to do so. However, we had already started to change some of the UI (specifically the error message you get on startup if using an unsupported JDK version) based on the presumed updated JDK version, and we neglected to back out that UI change.
So, the upshot is that JDK 1.6 update 24 is the minimum required release for 11.1.2.4.0. The error message saying otherwise is our mistake. Needless to say, it's rather embarrassing, and we intend to fix this as soon as we can. In the next couple of days, we plan to post an updated 11.1.2.4.0 release with this code reverting to displaying an error only for JDK versions earlier than 1.6 update 24.
What do you need to do? If you are not seeing the error (because you are using JDK 1.6 update 35 or later or you are on a non-Windows platform), you do not need to make any changes. If, however, you are seeing this error and you want it to go away, you can either install a JDK 1.6 update 35 or later (instructions on how to do so are captured later in this thread) or you can re-download and re-install JDeveloper a few days from now when we release the update. In that update the only included bug fix will be to modify the condition in which the error is reported. There will not be a corresponding updated ADF version, as this issue applies only to the JDeveloper launcher code on Windows.
We apologize for the confusion, and thank you for your continued support.
-- Brian
Thanks for your reply Brian.
Brian Fry wrote:
... This was an oversight on our part. ...Thank you for the confirmation.
... or you can re-download and re-install JDeveloper a few days from now when we release the update. ...This is what I did, and I no longer got messages about the Java version.
about, before ...
Oracle JDeveloper 11g Release 2 11.1.2.4.0
Studio Edition Version 11.1.2.4.0
Build JDEVADF_11.1.2.4.0_GENERIC_130421.1600.6436
Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved.
IDE Version: 11.1.2.4.39.64.36
Product ID: oracle.jdeveloper
Product Version: 11.1.2.4.39.64.36... and after ...
Oracle JDeveloper 11g Release 2 11.1.2.4.0
Studio Edition Version 11.1.2.4.0
Build JDEVADF_11.1.2.4.0_GENERIC_130421.1600.6436.1
Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved.
IDE Version: 11.1.2.4.39.64.36.1
Product ID: oracle.jdeveloper
Product Version: 11.1.2.4.39.64.36.1regards
Jan