This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Oracle JDeveloper with newer java version in windows Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Oracle JDeveloper with newer java version in windows" Watch "Oracle JDeveloper with newer java version in windows" New topic
Author

Oracle JDeveloper with newer java version in windows

Sara Tracy
Ranch Hand

Joined: Jan 06, 2006
Posts: 45
Hi,
I had jdk 1.4.2 installed on my Windows XP machine, and had developed applications using JDeveloper 10.1.2.

I'm upgrading to Windows 7, and my question is whether I can install a higher version of JDK (say 6.0) on my machine, and also download a complete installation of JDeveloper 10.1.2, so that I can refer to the SDK version 1.4.2 that comes with the JDeveloper installation?

Or is it required that I should have jdk 1.4.2 installed on my Windows 7 to work with applications that I developed using JDeveloper 10.1.2?

Any help appreciated.
Thanks!
David Byron
Rancher

Joined: Jan 20, 2009
Posts: 172

Sara Tracy wrote:I had jdk 1.4.2 installed on my Windows XP machine, and had developed applications using JDeveloper 10.1.2.

I'm upgrading to Windows 7, and my question is whether I can install a higher version of JDK (say 6.0) on my machine, and also download a complete installation of JDeveloper 10.1.2, so that I can refer to the SDK version 1.4.2 that comes with the JDeveloper installation?

Or is it required that I should have jdk 1.4.2 installed on my Windows 7 to work with applications that I developed using JDeveloper 10.1.2?


We use JDeveloper 11.1.1.4.0 with jdk 1.6_xx without problems. Do you have a good reason not to upgrade from 10.1.2? The latest/greatest is relatively slick.

In any event, you can configure a JDev project to use an external jdk rather than the one that comes with it.
Sara Tracy
Ranch Hand

Joined: Jan 06, 2006
Posts: 45
David Byron wrote:We use JDeveloper 11.1.1.4.0 with jdk 1.6_xx without problems. Do you have a good reason not to upgrade from 10.1.2? The latest/greatest is relatively slick.

In any event, you can configure a JDev project to use an external jdk rather than the one that comes with it.


I don't think there is backward compatibility in JDeveloper, hence my applications might throw errors in a higher version of JDeveloper. So if I have both JDev 10.1.2 and JDev 11.x.x, can I have the latest JDK version on my machine? I read in the JDev 10.1.2 documentation, that I'm required to have JDK 1.4 if I need to work on JDev 10.1.2. I'm not sure what needs to be done?





David Byron
Rancher

Joined: Jan 20, 2009
Posts: 172

Sara Tracy wrote:I don't think there is backward compatibility in JDeveloper, hence my applications might throw errors in a higher version of JDeveloper.

It's true that the JDev project files are version specific. In my experience, when you install a newer version, it asks you whether you'd like to migrate existing project files to the newer file format. I believe this prompt also occurs whenever you try to open workspace created by an earlier version.

I haven't tried to make the leap all the way from 10.1.2 to current in one move, so I'm not sure how effective that migration is. You could always back up your files and then try it out!

As for the jdk, there are two issues: which jdk is bundled and which is referenced in a project. These need not be the same.

In general, code written to an older jdk will run on a newer, but not necessarily vice versa. So your app written to 1.4.x can probably be compiled to 1.6 (and would probably benefit from refactoring to take advantage of new language features).

So if I have both JDev 10.1.2 and JDev 11.x.x, can I have the latest JDK version on my machine?

Yes, you can have multiple jdk instances in different versions on your machine, and you can associate a particular jdk with a particular project.

I read in the JDev 10.1.2 documentation, that I'm required to have JDK 1.4 if I need to work on JDev 10.1.2.

I think that's a minimum, not a peg.
Sara Tracy
Ranch Hand

Joined: Jan 06, 2006
Posts: 45
Thank you David!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Oracle JDeveloper with newer java version in windows