Can somebody tell me where to find a java jdk 6?
I need to downgrade from 7 because I have some problems with java-7 on my mac. I installed the jdk 7 from oracle.
There is support for mac but there is nothing for lower then jdk7.
Any idea?
You can use "Java Preferences" to set the older jdk 6 to be your default JDK. Use "spotlight" to find Java Preferences panel.
This might be what you are looking for. http://support.apple.com/kb/HT5559?viewlocale=en_US
Related
I've a new computer with Debian 9 / 64bits.
After installing Netbeans 8.2 and Codename Plugin 5.0 if i try to open "CodenameOne Settings" or "CodenameOne Designer" nothing happens.
I've checked JRE_JAVA and JDK_JAVA and PATH environment variables and them points to the correct path.
I don't see any error message but the tools dont start.
I dont know what happens but i remember a similar issue in the old computer with Debian 6 / 32bits.
Can anybody help me?
Thanks a lot
Ramon Garcia
The default version of Java on Linux systems is OpenJDK which is a bit problematic due to its lack of JavaFX support. With newer JDKs we updated Codename One to download JavaFX dynamically as it was removed from the JDK but since the dynamic download only works with JDK 10 or newer (due to the way the people at Oracle compiled JavaFX) this would be the minimum version of OpenJDK.
So you can either install Oracle JDK 8 or Open JDK 11 to keep compatibility.
Notice you can track this issue by running the designer/gui builder from the command line and seeing the point of failure: https://www.codenameone.com/blog/tip-track-designer-guibuilder-issues.html
When I was installing WAS, there was a prompt alerting me to use Java 8 by default. I aggreed, because back then it wasn't matter which version to use.
Time passed and now I have necessity to use Java 6 in one of my profiles, which is coming with the WAS by default. Since I aggreed to use newer Java, WAS working on Java 8 by default now. I searched in installation repository, but in IBM Installation Manager Java versions I need are greyed out and cannot be installed separately.
Is there a way to install Java 6 alongside Java 8 in WAS, so I could just switch between them in profiles' setting? I tried official repository for Java 6, but it is empty since IBM dropped it's support in April.
P.S. I tried to change variable JAVA_HOME in Websphere profile setting (as well as in system variables) to look at JDK 1.6 I installed separately, but then my profile refuses to start.
Java 6 is no longer supported, so the WAS Installation Manager has likely removed the option to use JDK 6. For WAS 8.5 you can use either Java 7 or Java 8.
This article talks more about Java 6 End of Support:
https://developer.ibm.com/wasdev/blog/2017/10/25/java-6-end-support/
This may be a longshot, but I NEED to get Java JRE 7 running on Mac 10.6. The official documentation states
Mac OS X System Requirements
Intel-based Mac running Mac OS X 10.7.3 (Lion) or later.
Administrator privileges for installation 64-bit browser
Is there any way I can trick the java JRE 7 into installing itself on OSX 10.6? Is there some community version of a JRE 7?
It can be done, just follow what this answer suggests. I successfully installed JDK 7 update 11 a couple of weeks ago. However I have only used it for some development, and am not sure if it runs e.g. Swing apps without issues.
No.
Easiest is most likely to install virtual box and run Ubuntu inside.
EDIT: The comments indicate that this is not for hobby use but a client. I would personally never base a commercial solution on unsupported software, and I hope it has been made absolutely clear to the client what this can result in.
A better solution might be recompiling your Java program for Java 6 (use the Eclipse compiler with -source and -target) and run it under Java 6. If you cannot do this - as you said NEED - then open a new question asking how to backport that facility to Java 6.
Yesterday i was setting up my new macbook pro with retina display and realize that netbeans looks very blurry. This is something critical for me because i spent from 8 to 10 hours using netbeans everyday. I searched online i found that this is an issue with the jre 1.7 and will work ok with the jre 1.6 provided by apple.
The thing is that i have intalled jre 1.7 on my mac and have not found a way of downgrade my
jre to 1.6, which is not critical for me because i am not a java developer,i only need the jre for running netbeans and do my loved PHP web development.
Please any help on how to downgrade to jre 1.6 from 1.7 in mountain lion.
I experienced the same issue. It's possible to tell NetBeans to use a different version of Java:
https://discussions.apple.com/thread/4470872?start=0&tstart=0#21143742
If you still want to downgrade so that the default version for all your applications is Java 6, see my comments here:
https://stackoverflow.com/a/6413600/560114
You can try Retinizer, although it won't increase the resolution of any icons within the app, just any text, as well as the Cocoa GUI.
I had the same issue after upgrading to Mountain Lion. Before upgrading I was using Java 6, and now I'm using Java 7 and saw the ugly font rendering.
However there is a way to fix the font on Netbeans without having to revert back to a previous version of Java. The issue is that the default Netbeans font "Monospaced 13" maps to different fonts in the two Java versions. The Java 6 version maps this to "Courier 13", while the Java 7 version maps it to something ugly. So you can have the nice font rendering by simply changing the default font to be "Courier 13" in your Netbeans+Java 7 (Preferences > Fonts & Colors).
More details here: https://netbeans.org/bugzilla/show_bug.cgi?id=229029
This is incredible simple to fix but I was very hard to me to find the answer.
You have to upload your JDK 7. I had the same problem with JDK 7u25. And fixed the problem downloading the last version 7u72 form here
So, do some checks first. Run:
$ java -version
I was using "java version "1.7.0_25"
Then run the following command to get the route.
$ /usr/libexec/java_home -v 1.7
You should get, before the upgrade:
/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home
Then install the new version, and you should get the new route with the last command:
$ /usr/libexec/java_home -v 1.7
/Library/Java/JavaVirtualMachines/jdk1.7.0_72.jdk/Contents/Home
Go to your Applications folder, look for Netbeans (I have the version 8.01), right click "Show Packages Content".
Then navigate to Contents/Resources/Netbeans/etc. and edit netbeans.conf
On that file add the line with th evalue netbeans_jdkhome and put your route.
netbeans_jdkhome="/Library/Java/JavaVirtualMachines/jdk1.7.0_72.jdk/Contents/Home"
Done.
I have Java 1.5.0 installed on a Mac OS machine. I have the Java Embedding Plugin 0.9.6.4 installed and java enabled on the preferences panel. When I go to http://java.com/en/download/help/testvm.xml the applet appears blank. Does anyone has an idea of what is happening?
I have found the solution. The Java Embedding Plugin uses the installed JVM which itself gets its proxy definitions from MacOS and not from Firefox. So, proxy definitions have to be defined for both MacOS/Safari and Firefox.
I've also updated Firefox and selected Java 1.5 on the Java preferences panel. However I'm not sure if these two actions helped solve the issue.
Firefox 3.0.1 on Mac OS X 10.5 should support java applets without any extra Java Embedding Plugin.
applets that require java 1.6 don't work in mac os x, even though java 1.6 (aka java se 6) is installed and at the top of the list in the java preferences.