Sun's website is confusing.
I am looking for Java 1.6 Enterprise Edition SDK for WINDOWS 7 64-bit.
I found the 64-bit Standard Edition, and the 32-bit Enterprise edition.
Can anyone help?
Thanks
The 32bit vs 64bit refers to the JVM itself, as well as some core libraries. So the 64bit JavaSE download is the JavaSE runtime on top of a 64 bit JVM.
On top of that, the majority of the JavaSE APIs and libraries are not specific to 32bit or 64bit. JavaEE runs on top of JavaSE, and so it's not 32bit-64bit specific.
So, pick the JavaSE appropriate to your environment, and don't worry about it for JavaEE.
I'm going to answer my own question, how about that:
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=java_ee_sdk-6u1-wjdk-oth-JPR#CDS-CDS_SMI
I had Java SE 64-bit installed and I tried to install Java EE. I had the following error (well something like that):
Missing Java installation...
If Java is installed on your computer you can try : Java_EE.exe -j (Java(TM) Directory Installation)
I tried the -j command with JDK, JDK\bin, JRE, JRE\bin
I tried to reinstall java 64-bit
I tried re-setting JAVA_HOME, PATH and CLASSPATH variable just for
the sake of it...
Nothing worked
I installed Java SE 32-bit, double click Java_EE.exe and everything work...
EDIT : And now to complement the strangeness when I go through the Java_EE.exe installer, the installer spot my Java SE 64-bit edition (maybe because I set the environments variables)
Related
I need to install open JDK in my Windows 64-bit os. I have used ORACLE open JDK and downloaded from the below link: https://jdk.java.net/8/
While downloading I have selected Accept License Agreement and installed.
But, after the installation when I tried checking the version using command java -version it's showing like regular JDK.
Can anyone help me to get where I went wrong? Or is there any better vendor to install open JDK in windows. Thanks.
Amazon offers an open jdk for Windows (and other OS), but just for Java 8, 11 and 16.
You can download it from here: https://aws.amazon.com/es/corretto/
After installing it and running the java -version command, you will see something like this:
>java -version
openjdk version "1.8.0_242"
OpenJDK Runtime Environment Corretto-8.242.08.1 (build 1.8.0_242-b08)
OpenJDK 64-Bit Server VM Corretto-8.242.08.1 (build 25.242-b08, mixed mode)
You need to set your java version in environment of you machine and target your JDK8 bin folder, or any JDK that you want to have at your disposal when you run java -version.
The best way to do this is to use the builds from adoptopenjdk. They're very high quality and come in multiple variants for Windows ranging from zip files to MSI installers. Dead simple to install JDK 8, 11 or 15.
But, after the installation when I tried checking the version using command java -version it's showing like regular JDK.
This is because JAVA_HOME is pointing to your old JDK. You need to go to Control Panel and change the Environment Variables. Just do a search on Windows 10 for "Environment Variables" to easily find that configuration panel.
Azul Systems provides builds of OpenJDK and relative installers, for all OSes and JDK versions.
It also provides builds of the JDK with OpenJFX included.
The installers bind JAR files to be executed by Java on Windows.
Download from azul.com website
I know this is old but should anyone run across this in search of OpenJDK 8 go here
https://developers.redhat.com/products/openjdk/download
Apologies in advance. I know this is a basic question.
I am new to server administration. I am administering a server where the users do Java development.
They have a Java-based application and do development in Eclipse. Eclipse is 32-bit. The OS is 64-bit.
I recently updated the JDK and JRE on the server. I have both the 64-bit and 32-bit of each installed.
Eclipse ran into an error where it couldn't start after I had updated to the new JRE and JDK. So I took some advice online and updated the -vm path in the Eclipse .INI file to point to the new 32-bit JRE path. It now works.
I have two main questions:
Will updating the JRE and JDK EVER cause an issue with development, or as long as they can open up Eclipse and use at least one version of the JRE or JDK, they will be fine? I guess my fear is that they are going to develop in a certain version and the next version will cause issues down the line.
They develop in 32-bit Eclipse (not sure why they chose 32-bit) but their application runs with 64-bit Java (that is where the path points to for that installation). If something is developed in 32-bit Eclipse can it run with 64-bit Java? Side question: is there a certain advantage with developing with 32-bit Eclipse on a 64-bit system or is it personal choice?
Thanks a lot and cheers!
I guess my fear is that they are going to develop in a certain version and the next version will cause issues down the line.
Java 6 and 7 are end of life; Java 8 code should still be run when Java 9+ rolls out. I've not been aware of any backwards compatibility issues in recent years, it's only forward compatibility that doesn't work (running Java 8 compiled libraries with JRE 7).
They develop in 32-bit Eclipse (not sure why they chose 32-bit) but their application runs with 64-bit Java
The IDE and code run in separate processes. There's no harm in using the 64bit JDK with 32bit editor.
Eclipse 32 bits running on 64 bits JVM
Should I use Eclipse 32bits or 64bits on my new machine?
Will updating the JRE and JDK EVER cause an issue with development...
I believe it technically could render what you developed "obsolete" if you're initially using one JDK with some specs and change for another one with specs that are not "compatible" with what you built so far. By specs, I mean the libraries, tools, etc that the JDK contains. But I would say it would be unlikely that such problems occur. It personally never happened to me. I'd like to have someone with more knowledge give more details though and validate what I'm saying or correct me if I'm wrong.
If something is developed in 32-bit Eclipse can it run with 64-bit
Java?
To my knowledge, there are not related things. In my mind, Eclipse is just your IDE and it allows you to build/compile code using specific JDK (32 or 64 bits). As a matter of fact, you don't even need eclipse to build code but you definitely need a JDK: it's the JDK that give you the tools to compile code that "targets" a specific JRE/JVM and Eclipse is using the tools your JDK provide.
So yes, you can use eclipse 32 bits to build code for a 64 bits JRE.
When the JDK already includes JRE for the execution of code, why do I have to download JRE separately to execute my java code is the doubt that's bothering me
As far as I remember this depends on your OS, browser and JDK version.
Eg. if you're using a 64-bit OS and installed a 64-bit JDK, but are using a 32-bit browser, then you might have to install a 32-bit JRE if you need Java support in the browser.
Otherwise a separate JRE installation should not be required, since the JDK installation also installs the JRE.
JRE: Java Runtime Environment. It is basically the Java Virtual Machine where your Java programs run on.
JDK: It is a group of utilities one needs to develop programs in Java including JRE, and the compilers and tools (like JavaDoc, and Java Debugger) to convert the source code into bytecode.
Refer: http://javarevisited.blogspot.de/2011/12/jre-jvm-jdk-jit-in-java-programming.html
Similar, post is there on below link as well.
What is the difference between JDK and JRE?
The java library I need (jpcap) only works on Java 6, it won't work with Java 7. Is it still possible to install Java 6 on Ubuntu? According to the Ubuntu Help:
Oracle (Sun) Java 6 is no longer available to be distributed by Ubuntu, because of license issues
I've tried to use the instructions on the same site but they don't seem to work...
./jre-6u34-linux-i586.bin doesn't seem to do anything!
Check out these instructions on how to install Sun JDK 6. In older versions of the repositories the desired package is included.
If you're not obliged to, try using jNetPcap instead. It's another wrapper around pcap, it just works on more recent JVMs and is not restricted to 32 bit architecture.
I would try the OpenJDK 6 which AFAIK is fine on Ubuntu and check you have the right version 32-bit vs 64-bit for your machine. i586 is 32-bit and won't work with a 64-bit build of jpcap.
Is it possible to install the latest JDK on Mac OS 10.5? What are the best options, considering that the Apple-supplied version is 1.5?
Update: I am trying to install JDeveloper 11, which requires JDK 6.
If you have an Intel Mac with a Core 2 Duo, go to Applications/Java and run Java Preferences.app
You'll be able to select "Java SE 6" as your default java version (version 5 is still the shipping default on the OS for compatibility, I guess).
Depending on your hardware the latest version Apple supplies actually is Java 6, but it is not activated as the default version to use. Apple supplies Java 6 only for 64-bit Intel Macs (i.e. not for original Core Duo Macs). For older Macs, you could try the OpenJDK port of Java 6 for Mac (SoyLatte).
Apple provides Java 6 (1.6) for Leopard (OS X 10.5) as an update, however only the 64-bit version. So, if your Mac is not a 64-bit Intel, then you won't have Java 6 on Leopard.
If you do have a 64-bit Intel, then ensure that you install the latest OS updates, especially the Java ones to make sure you get Java 1.6. Also, you still need to set Java 6 as the default VM in your Java Preferences, as it defaults to Java 1.5.
Currently, the easiest solution if you have a 32-bit Intel processor is to upgrade to Snow Leopard, which includes 32-bit and 64-bit versions of Java 6.
OS X does have Java 6 after Update 1. The version number you are referring to is the version of Java 6. Do you receive any errors while installing JDeveloper 11?
It's just a software update. Here's a blog post that describes it.
JDeveloper like netbeans and eclipse provide a configuration file(usually a .conf) where you can update a jdkhome attribute addresing the path of your jdk6 installation, as mentioned before you can get it from OpenJDK port of Java 6 for Mac.
You also need to be aware that:
if you have an alias "CurrentJDK" and if that alias is "broken" then you must delete it to install a new JDK.
Deleting that "alias" will solver troubles.
It is. Check here: Apple support