Eclipse Gynamide and JDK compatibility - eclipse

i am using JDK1.4.2_02 on my system, which is required to run my ATG Dynamo server. I have tried to run Eclipse 'Ganymede'-( 3.4/3.4.2). But facing problem, its asking to use JDK1.5, which I cant use. Since ATG Dynamodosent run on JDK1.5 .
I googled and found that Eclipse 3.2 / Callisto is compatible with JDK 1.4.2, but its not available in our software list. The only older version availabe is Eclipse 'Ganymede'-( 3.4/3.4.2).
Is there any way to use Eclipse 'Ganymede'-( 3.4/3.4.2) with JDK 1.4.2_02.
Regards
Mayank

If it is not compatible then you won't be able to run it with Java 4.
But why don't you install two JVM versions on your server? You could have Java 4 to run your ATG Dynamo server and a more recent JVM to run Eclipse.
Moreover why can't you run your ATG dynamo server with a more recent JVM? AFAIK JVMs are backward compatible.

Related

spring tool suite not working with java 8

I just downloaded Spring tool Suite 3.9 but it is not working with java 8 and wants java 6. Do you know a way to open it with java 8? And please let me know if there is a better free IDE for spring on mac.
It should work as per sts documentation .
https://docs.spring.io/sts/nan/latest/NewAndNoteworthy.html
STS doesn't need a JDK6 to run, it requires a JDK8 instead, so you need to have a full JDK8 installed. STS picks that up automatically while launching.
In case of doubt, you can specify the JVM to run STS with in the sts.ini file in the same way than you can specify the JVM for Eclipse in the eclipse.ini: https://wiki.eclipse.org/Eclipse.ini#-vm_value:_Mac_OS_X_Example
In case this doesn't work, please add additional details about the exact message that you see, when you see it, and what version of macOS you are running. It would also be interesting to see if plain Eclipse behaves the same.

Improvement: decoupled jre version for installer and application possible?

For now it seems to be impossible the decouple the jre for the main application from the jre used by the installer/updater itself. But sometimes there is a reason to use two different jre/jdk. Maybe the application needs java 8 and the installer is built with java 7 or older. Or maybe there are two applications to install which use two different java versions. Another idea is to create some kind of a meta installer that decide during runtime whether to install 32bit or 64bit java depend on the underlying platform architecture? The installer itself then has to use a 32bit version. So what about to decouple it and configure the jre for the application launchers itself independend from the java version of the installer/updater?
Starting with version 6.1.2 the launcher wizard will have an option to configured the JRE search sequence differently from the installer.
The setting will be available under the "Java invocation->Override Java version" step.

Glassfish 4(development build) + eclipse juno

I am trying some of the new features which are only available in Glassfish4(development build).
My current eclipse plugin does not allow me to connect to glassfish4 - there's no 4.x version in the list.
Is there any way I can make it work? I would like to deploy/start the app from eclipse.
If you are using an Eclipse that is older than Juno... you cannot work with GlassFish 4.
If you have Juno, you can install a plugin that allows you to register GlassFish 4 server run-times. BE SURE TO READ https://blogs.oracle.com/piotrik/entry/new_version_of_glassfish_eclipse before you attempt to update your current GlassFish plugin. If you do not have a GlassFish plugin installed in Juno, you can probably ignore almost all of the content of that page.
If you have Kepler M6 installed, you can try out the GlassFish server adapter (GFSA) and the GlassFish 4 run-time plugin (GF4RTP). The GFSA is available here: http://download.java.net/glassfish/eclipse/kepler
The latest update of the GFSA for Kepler should play nicely with the Java EE 7 features that got integrated into Kepler's milestone 6 release.
The GF4RTP is available here:
http://download.java.net/glassfish/eclipse/kepler/runtime
NOTE: all the bits available under download.java.net/glassfish/eclipse/* are developer stream bits. They are not 'production quality' and are being made available to get feedback from users willing to give them a try. If you have to do something critical, you may want to wait for bits that will be integrated into the Oracle Enterprise Pack for Eclipse.

Eclipse setup Ubuntu 10.04

I am trying to setup Eclipse on Ubuntu 10.04. I have installed Eclipse SDK 3.5.2 from the Synaptic Package manager.
The problem is, Eclipse is not giving me an option to create Java or Dynamic Web Projects. It also does not properly recognize the projects that I import (shows source folders but not packages).
Do I have the right version of Eclipse or do I need to install anything besides this.
Please note that I already have Sun's JVM set as the default for my system. Have been trying for a while and have searched everywhere with no luck, any help would be highly appreciated.
Thanks
The version packaged in Ubuntu is a light version for Java SE development (i.e. standalone java application). If you want to create web projects, you need a version with a lot more plugins. Eclipse IDE for Java EE Developers
I guess you need Eclipse IDE for Java EE Developers.. Here it is.

Installing JDK for JBoss but not Glassfish

I'm trying to get an environment set up to match a client. They're using JBoss 4.0.5. The installation docs indicate I need to install the JDK 5.0 separately. As far as I can tell, the JDK installation is tied to the GlassFish app server--installing the JDK gets me GF and uninstalling GF removes the JDK. Is there a way to get just the JDK?
The JDK can be installed and used separately from any other application and you can have multiple versions running on the same machine. (Which is usually the case when working with different clients/projects).
If your JDK installation is tied to the GlassFish application server, you probably used the "Java EE SDK" installer ( http://www.oracle.com/technetwork/java/javaee/downloads/index.html ). This bundles everything you need for starting up development on JavaEE.
You can get the normal, JDK-only installer at http://www.oracle.com/technetwork/java/javase/downloads/index.html (go to Previous Releases for JDK 5) with which you can install only the JDK at a separate location on your computer.
After installing JDK 5, you just have to tell JBoss to use that one instead of the GlassFish/System Java version. For this only setting the JAVA_HOME path to desired JDK for the JBoss startup scripts should be enough.
You can have as many JDK/JRE installations on your computer as you need. Just be sure that for each application which requires a specific version you configure its JAVA_HOME correctly.