Sign in with
Sign up | Sign in
Your question

Java Not Working (OS 10.7.5)

Tags:
  • Computers
  • Java
  • Apple
  • 10.7
  • Mac OS X
  • 10.7.5
  • OS X
  • lion
  • Macintosh
Last response: in Mac Os X
Share
December 10, 2013 5:02:09 AM

I'm having some pretty annoying issues with Java on my computer (running OS 10.7.5), and I've been working all day trying to fix it and haven't gotten anywhere. I was hoping that maybe someone here knows of something I can do that might help.

So first of all, my issue. When I try to run anything Java in Safari, it simply does absolutely nothing. This has been happening for a while, and is nothing new. However, the new development (about a week or two ago), is that Firefox is also no longer able to run any Java. It will load the plug-in, and then crash. The Java site says that I am running the latest version (1.7_45). Also, I tried running a .jar file, same deal.

Terminal does confirm that I have Java as well, but when I tried to run a .jar file manually from terminal, it told me that the Java Virtual Machine could not be started. So I tried rolling it back to 1.6, as the Apple site recommends. That worked fine, and the rollback succeeded, but then the problems were still there. Then I tried going back to 1.7_45, and still no luck. Clearing the cache did nothing in either case. I tried the exact same websites on another computer, running the same OS and 1.6, and it worked fine, so it seems to be something wrong with this computer in particular.

Here is the error code I get from terminal:
Spoiler
java.lang.NullPointerException
at java.awt.Toolkit.createImage(Toolkit.java:1101)
at HZ.C(HZ)
at Client.F(Client)
at HZ.run(HZ)
at Client.run(Client)
at java.lang.Thread.run(Thread.java:695)
java.lang.NullPointerException
at java.io.File.<init>(File.java:222)
at Client.B(Client)
at Client.F(Client)
at HZ.run(HZ)
at Client.run(Client)
at java.lang.Thread.run(Thread.java:695)

and with another file:
Spoiler
Exception in thread "main" java.lang.UnsupportedClassVersionError: Loader : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

More about : java working

December 10, 2013 7:37:13 AM

Maybe updating to the newest OS (10.9 Mavericks) will help, as I understand that the newest updates are based around that software. Its free, just go to the App Store and download it from there.
m
0
l
December 10, 2013 10:57:41 AM

Apple have also throw-in the towel where Java is concerned (far too many security issues), if you really need Java (and the Safari Plug-in) make sure you get the latest directly from Oracle (Sun) the Apple (1.6) package won't work any more.
m
0
l
April 9, 2014 6:06:43 AM

dragearen said:
So first of all, my issue. When I try to run anything Java in Safari, it simply does absolutely nothing. This has been happening for a while, and is nothing new. However, the new development (about a week or two ago), is that Firefox is also no longer able to run any Java. It will load the plug-in, and then crash.


Not sure if you're still having this issue, but for others that might read this, I just ran the Java update for Mac Lion via Software Update because of a slowness problem and this was the description:

> Java for OS X 2013-005 delivers improved security, reliability, and compatibility by updating Java SE 6 to 1.6.0_65.

> On systems that have not already installed Java for OS X 2012-006, this update disables the Java SE 6 applet plug-in. To use applets on a web page, click on the region labeled "Missing plug-in" to download the latest version of the Java applet plug-in from Oracle.

> See http://support.apple.com/kb/HT5945 for more details about this update.

> See http://support.apple.com/kb/HT1222 for information about the security content of this update.

Seems to describe your issue somewhat.
m
0
l
!