Several JDK: Can I install to jdk 1.6 and is jdk 1.7 on the same pc?

I'm quite new in the world of software do a career change after 15 long years of sales. So please forgive me if my question is trivial.

I downloaded the jdk is 1.7

The two ad JDeveloper 11.1.2 SQL Developer 3.1 requires that the version of jdk used must be1.6.xx. the jdk 1.7 is already installed on my pc. Now, if I download jdk 1.6.xx and install it. I can do it on the same pc? or I have to first uninstall the jdk 1.7 and then install the jdk 1.6.

I intend to work on developing Java EE applications. Can I also have Java EE jdk 1.6 installed on the same pc. With so many JDK, I'm really confused.

Help, please.

Any type of problem. In fact, you can install the 32-bit and 64-bit Java on the same machine without problem.

Java EE jdk 1.6 I have

You're wrong there. JavaEE is only a specifications implemented by an application server. for example, Glassfish or JBoss. You do not install a separate JDK for this, just use the one you already have. Allows you to flatten a bit for you:

-There is only one regular Java for PC: JavaSE or "standard edition". It has many versions, Java 7 is the latest version.
-To be able to run Java applications, you need the Java Runtime, or JRE.
-To be able to build Java applications, you need the SDK Java, or JDK.
-on top of JavaSE there now also JavaFX2, who has his own execution. But even there JavaSE is always the base. You don't need JavaFX passing.

-JavaEE is a specifications related to an important collection of API (JMS, EJB, JPA, etc..)
-Application servers implementing this specification, and provide implementations for the API

You might be confused as how to compile enterprise applications. You build applications using the JDK regular JavaSE (because it contains the Java compiler), but your application will fail compile because you're missing all the APIs that mandate the JavaEE specification. Usually, you deal with this in the framework or a specialized IDE project which adds API appropriate for your project, jars adds jars from the application server to your project or you use something like Maven to manage the dependencies of the company yourself.

What does all this tell you? I'll summarize for you:

-you need a Java JDK 6. Choose the one that matches your CPU architecture
-you need an application server to complete part of the equation JavaEE
-you need a method (IDE, Maven) to correctly incorporate JavaEE dependencies in the classpath of time compiling your project and be able to easily create the "binary" company (war, ejb jar, ear)

That's all. And it's not easy.

Tags: Java

Similar Questions

Maybe you are looking for

  • find the subject previously podcast apple ID

    Update: I have presented our podcast in the first days of the podcasts on iTunes (before September 2006). The show is SwineCast and the RSS feed is http://feeds.feedburner.com/SwineCast The original apple iTunes podcast URL is http://phobos.apple.com

  • Compare tool

    Hello I want to start to use the Photos for Mac app, but I can't find the tool compare - compare the original image with the edited version.

  • How to fix the code access for Ipod

    So I recently reset my Ipod 5 because I don't know, I wanted to. And I was also remove my current email and I changed my appleid to my old email to my new. So I don't know if this needs to build with this, but for some reason, when I want to connect

  • HP Envy 700-470na: changing the case of the HP Envy 700-470na.

    Today, I upgraded my PSU and GPU for my HP Envy 700-470na. The case for my PC is too small and I can barely sort out the cables.If someone can recommend a decent case that is less than £50, can put all the pieces of pc HP in the case like the motherb

  • 8007370c error code cannot install updates

    Have a Dell Inspiron I1720, TS250 @ 1.50 GHz, 2 GB - Ram, running Vista Home Premium.  I tried several times to install 13 updates (recent) starting with MS Net Framwork 3.0 SP2 - Vista, next KB2676562, etc.  Downloaded 13 but do not... settle retrie