• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Oracle JDeveloper with newer java version in windows

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Rancher
Posts: 175
Clojure Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 175
Clojure Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you David!
 
If we don't do the shopping, we won't have anything for dinner. And I've invited this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic