PDA

View Full Version : Can't get Java to work :(




freemusic86
Dec 2, 2012, 05:12 AM
Hi,

Since I have purchased my new MacBook Air earlier this year, I'm struggling to get a lot of java apps to work. Some do some don't, including web based apps. Web apps just crash (close), and .jar files gives me the error:

The Java JAR file "whatever java app.jar" could not be launched.
Check the console for possible messages.

The following messages appear in the console:

02/12/2012 11:09:26.285 com.apple.launchd[1]: (com.apple.qtkittrustedmoviesservice[557]) Could not terminate job: 3: No such process
02/12/2012 11:09:26.285 com.apple.launchd[1]: (com.apple.qtkittrustedmoviesservice[557]) Using fallback option to terminate job...

I have java installed because I can see it in system settings and when I click it, it says my system has the recommended version of Java (Java 7 Update 9).

I have all the latest updates for OS X 10.8.2.

Any help would be appreciated :)



MAKRUMORS
Dec 2, 2012, 06:39 AM
Hi,

Since I have purchased my new MacBook Air earlier this year, I'm struggling to get a lot of java apps to work. Some do some don't, including web based apps. Web apps just crash (close), and .jar files gives me the error:

The Java JAR file "whatever java app.jar" could not be launched.
Check the console for possible messages.

The following messages appear in the console:

02/12/2012 11:09:26.285 com.apple.launchd[1]: (com.apple.qtkittrustedmoviesservice[557]) Could not terminate job: 3: No such process
02/12/2012 11:09:26.285 com.apple.launchd[1]: (com.apple.qtkittrustedmoviesservice[557]) Using fallback option to terminate job...

I have java installed because I can see it in system settings and when I click it, it says my system has the recommended version of Java (Java 7 Update 9).

I have all the latest updates for OS X 10.8.2.

Any help would be appreciated :)

If java is not working get a 5 hour shoot or switch the coffee to mocha

Zerozal
Dec 2, 2012, 01:09 PM
Open a terminal window and, at the prompt, enter the following:
java -version

Hit return and copy the response here.

freemusic86
Dec 6, 2012, 01:03 PM
java version "1.7.0_06"
Java(TM) SE Runtime Environment (build 1.7.0_06-b24)
Java HotSpot(TM) 64-Bit Server VM (build 23.2-b09, mixed mode)

Thanks :)

therealseebs
Dec 6, 2012, 02:18 PM
java version "1.7.0_06"
Java(TM) SE Runtime Environment (build 1.7.0_06-b24)
Java HotSpot(TM) 64-Bit Server VM (build 23.2-b09, mixed mode)

Thanks :)

You may want to check the Java Preferences control panel. It seems a bit odd that you're getting this version info, though, because 1.7.0_06 is too new to be Apple-provided (they only provide a Java 6 runtime), and too old to be a current download from Oracle (who are shipping 1.7.0_09).

freemusic86
Dec 6, 2012, 02:23 PM
I don't have Java Preferences, which is weird.

nyolc8
Dec 6, 2012, 02:34 PM
I don't have Java Preferences, which is weird.

I think Apple removed it with 10.8.2. It's missing for me too.

Zerozal
Dec 6, 2012, 06:55 PM
I don't have Java Preferences, which is weird.

It's now in System Preferences, under "Other". Open that, and go to the "Updates" tab. What does it say? See my screenshots for what should be the current version.

In any case, I recommend downloading the full Java development kit, which should update everything to the current version, rather than just the java runtime. Go here:
http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9-downloads-1859576.html
and download the Mac OS X file (jdk-7u9-macosx-x64.dmg), and install. Hopefully that will solve your problem.

freemusic86
Dec 7, 2012, 11:45 AM
This is what I see, thanks for the response:

http://s7.postimage.org/bfi7pr0y1/java.png

Zerozal
Dec 7, 2012, 02:11 PM
This is what I see, thanks for the response:

Image (http://s7.postimage.org/bfi7pr0y1/java.png)

Picture didn't come through.

Did you try installing the jdk that I linked to above? I think that will solve your problems.

freemusic86
Dec 7, 2012, 02:14 PM
http://s7.postimage.org/bfi7pr0y1/java.png thats the link to image.

Yes I installed that and still no luck :(

Zerozal
Dec 7, 2012, 05:37 PM
Then I'm out of ideas, sorry. Hopefully someone else can help diagnose.

freemusic86
Dec 8, 2012, 09:40 AM
is there a way to remove all java and then reinstall? can anyone help? I need to getting it working so I can work

justperry
Dec 8, 2012, 09:51 AM
is there a way to remove all java and then reinstall? can anyone help? I need to getting it working so I can work

Have you tried logging into a different User Account, if you don't have one create one, then log into that user account and see if it works there.

You could also try to install OS X on a USB stick, boot from it install Java and see if it works there.

Oh, and repair permissions.

freemusic86
Dec 8, 2012, 12:34 PM
Have you tried logging into a different User Account, if you don't have one create one, then log into that user account and see if it works there.

You could also try to install OS X on a USB stick, boot from it install Java and see if it works there.

Oh, and repair permissions.

Reinstalling OS X done the job, thanks for all your help :)