So, I've discovered that some of my Java web apps have stopped functioning after applying the java update released by Apple on October 16th, 2012.
The tech notes indicate that Apple has removed the web app plug-in from OS X and that you need to download it from Oracle directly.
The problem with this is that Oracle only offers a 7x version of the plug-in and my apps require a 6x version, which I haven't been able to find.
So, can anybody point me to where I could find a copy of JavaAppletPlugin.plugin that I believe existed in /Library/Internet Plug-Ins/ prior to being destroyed?
And no, there is no chance that the vendor will be providing an updated version of the software which is compatible with Java 7 anytime soon.
Thanks All.
Same problem, google chrome for mac is 32-bit and do not support Java 7.
Try this:
sudo ln -s /System/Library/Java/Support/CoreDeploy.bundle/Contents/JavaAppletPlugin.plugin /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
It took a while to find this, but the solution to this issue can be found via this helpdesk article from Apple: http://support.apple.com/kb/HT5559
Here something important to note. I've found that even after following these steps I still have problems when attempting to open a .jnlp file from within the Mac OSX user interface. To successfully load a java web start program, you'll probably have to switch to the terminal then execute the following code (username$ is just the prompt for terminal newbies):
username$ javaws /path/to/file.jnlp
Feel free to contact me with any questions.
Have you tried http://sourceforge.net/projects/javaplugin/
You could also try manually copying the old version of the plugin package over the new one.
Related
so, I got a new external monitor for my iMac, and was downloading the latest Java -- java18 -- from java 8. I hadn't used the machine for years, but since getting my new monitor a couple weeks ago, I'm happy to know that I can still use it. I had written it off after the backlight went out, but lo and behold, the machine stills works fine.
Anyway, I downloaded Java 18 from the oracle website, installed it with no problem, but when I go the terminal app and enter
java -version it still says java 1.8 (java 8). I looked in the java folder in the library directory, and sure enough the java 18 folder is there, but for some reason it won't or doesn't 'see' it as the current/default java version.
Anyone out there have any help to give? I'm not sure what terminal commands to use to make this the default version. maybe because it's so far from the version that was on there. Can anyone help me out? The machine is a 2010 iMac 11,6 running El Capitan, and I want to use it while it lasts, as I gradually switch over to Linux.
The machine still works great, and the latest version that was on it before this download was java 8. I'm not at the machine right now, so i'll have to look at this over the next few days.
You need to add in ~/.profile file (create it, if doesn't exist), the setting of JAVA_HOME environment variable, pointing to your Java18 installation directory:
JAVA_HOME=/Path/to/Java18
export JAVA_HOME;
source: http://www.sajeconsultants.com/how-to-set-java_home-on-mac-os-x/
In case of failure, try to do the same but in the files:
~/.base_profile
~/.zshrc
source: https://www.developerlibs.com/2022/06/java-environment-path-setup-windows-linux-Mac.html
Here is my setup:
System76 Gallago Pro
Fedora 30
OpenJDK 1.8.0_201 (I did try Oracle as well)
I installed per IBM's instructions, using the installer script from the command line. I went through the installer menu and got to the success screen. I have done this a half dozen times on other machines and with OS upgrades on this same machine.
When I use the super key to find the program it is there; I click on the icon and my box returns to the desktop - but i Access doesn't start.
If I start via the command line using the start script, I get MSGGEN045 - A graphical user interface is not available.
If I run the java program directly
java -Xmx1024m -jar /opt/ibm/iAccessClientSolutions/acsbundle.jar I get the same message as when using the start script.
How can I get past this error? Or,what else can I do to track down what is happening?
I've had two issues when running iACS on Fedora. The first was the OS had a headless JVM installed by default. The second was something to do with sound.
Based on "MSGGEN045 - A graphical user interface is not available", I'd suspect a headless JVM.
HTH
Edit:
I checked for the headless JVM at the direction of IBM support. I don't remember the exact wording, but the name of the installed package was a dead giveaway. A simple "rpm -qa" was all it took.
I don't have anything Fedora specific but it seems that you either didn't install a Java Runtime Environment or just a headless version of it (jre-headless). Install a full JRE and everything should be fine.
You could check this with yum:
yum list installed | grep jre
Fedora is running wayland and not X11. Java doesn't play nice with wayland as of yet. As far as I know there are no plans yet to fix that. This is a good place to start https://www.ibm.com/developerworks/community/forums/html/topic?id=1b366edf-0e70-40d5-8d92-30d401edd97a
I tried to download Java on my laptop (which has windows 10) but i keep getting a 1603 error. My computer used to have windows 8.1 and it did not work back then either
I appreciate any advice to solve or work around this problem
I have had this problem. I was able to fix it thanks to a co-worker. The problem started happening after I installed HP Unified Functional Testing (UFT, aka QTP). Installing this product changes the Windows environment variables used by Java. He told me the following: "So change the names of JAVA_OPTIONS, IBM_JAVA_OPTIONS, JAVA_TOOL_OPTIONS to something else (both in system and user variables) and delete any Java folder(in Program Files (x86) or Program Files) which gets installed despite the error. Restart the system and then try installing Java."
Actually, all I did was rename the environment variables and run the installer. This worked.
My answer is not related to win 10, but might help someone who is having similar problem in windows 7 machine and not able to install jre 32 bit version.
the work around to this is once you downloaded the jre, copy the path "C:\Program Files (x86)\Java\jre1.8.0_121\bin\javaw.exe" and paste it under java runtime environment settings which is found -Java Control panel>java>view
I think you downloaded the wrong version. If your laptop support x64 bit software you should download Java 1.8 x64 version.
Here is the link.
https://www.java.com/en/download/manual.jsp
I had this problem for a month now. I tried everything on my windows 8, but I couldn't get the latest java on it. When I tried to install java on an empty computer, the 64 bit version did not go through (error 1603) and I realized the problem didn't come from an old java install and I install 32 bit. it worked on the new computer with windows 7 and on my computer running 8.1.
note: I had deleted all the java versions before going through with it.
To fix java 1603 error you have to follow few simple steps.
First of all remove all old java version.
Then remove some windows update file which might be reason of this
error. Like KB2918614 update.
After that download and Install latest version of java and activate
java in browser. Now everything will be fine you can test the java
version on java website...
For explained and easy solution to java 1603 error follow this link: http://protechguides.com/java-error-code-1603-solved/
I encountered this error on Windows 8.1 and when I checked with Oracle web site, they said that is is not yet resolved, and under investigation. They also showed a link for off-line installation as an alternative arrangement. However, upon investigation of my system, i found out that the available space in C drive was only about 20 MB or so. I cleared my system and provided enough space. When I tried with the extra space, I didn't encounter any error. May be, you could try with a better free space...
First you should close the browser because if any webpage will use Java, it will cause conflict. Then do custom installation, i.e. install in some other folder other than default folder and point environment variable to newly installed Java location. It will resolve your issue.
I'm using Salt to configure a bunch of Centos machines (rpm-based) and I need to install the Java runtime. I've seen some discussion of doing this with Ubuntu-based machines but I wonder if anybody has done it on Redhat-based distros. The problem is getting past the "accept license" dialog without user intervention.
You can actually pre-seed the answers to those interactive questions. Here's a thread from the salt-users mailing list showing how: https://groups.google.com/d/msg/salt-users/95Q707FFWYo/CdcJN7FPpRAJ
There is this nice saltstack-formula/sun-java-formula
Formula to set up and configure Java JREs and JDKs from a tarball archive sourced via URL.
It can be installed using formulas documentation. I did not test this on a centos installation, but it uses tarball installation so maybe it would work. If someone tests it on a rvm based system, please comment here! ;)
I successfuly installed this on a debian machine with the following pillar:
java_home: /usr/lib/java
java:
source_url: http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jre-7u79-linux-x64.tar.gz
jce_url: http://download.oracle.com/otn-pub/java/jce/7/UnlimitedJCEPolicyJDK7.zip
version_name: jdk1.7.0_79
prefix: /usr/share/java
dl_opts: -b oraclelicense=accept-securebackup-cookie -L
It installed java-jdk successfully, but it failed to install jce. I created issue #20 for this just in case, but I don't actually need jce (at least, not now).
I am a web developer, new to app development and Java/Android. I am about to follow some tutorials to get started learning but I'm running into a wall. The Android dev site says the recommended way to build Android apps is in Java using the Eclipse plug in. So I downloaded Eclipse Classic and unzipped it on to get this error:
"A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse.
No Java virtual machine was found after searching the following locations:
/Users//Desktop/eclipse/Eclipse.app/Contents/MacOS/jre/bin/java
java in your current PATH"
Any idea what the issue is and how I can fix it? Again, newbie to java, jre, android, so I apologize if this question has already been asked. In my research I've discovered that most of the posts or solutions I've found are tough for me to follow. There's always a few unclear items that are probably prohibiting me from getting the answer I need. So I'm hoping someone can walk me through installing or configuring whatever I need to regarding Java so I can continue installing Eclipse and begin learning.
I should probably note that I'm on Mac OSX 10.6.6 Snow Leopard. Please let me know if you need any other info. Thanks so much in advance for any and all help!!!
Your Mac is telling the truth, it can't find a JRE or JDK - make sure one is in your PATH and then try again.
[edit]
At the command prompt:
whereis java
and got /usr/bin/java.
ls -l /usr/bin/java
showed a symlink to /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java.
cd /System/Library/Frameworks/JavaVM.framework/Versions/
indicates that all my java's are located here.
So, as long as /usr/bin/java exists, it should be linked to your current jdk. If it's not, you're probably going to have to do a little googling to find out why.
Apple contends that all the java stuff is ready to go on your machine (as it was on mine). See here for more information.
[/edit]
Download a java jdk from Oracle.