Java, is a cross-platform programming language created by Sun Microsystems and is now owned by the Oracle company

learn more… | top users | synonyms

5
votes
3answers
8k views

Java - version 1.7.45 - and Mavericks

Chrome refused to run a java app unless i upgraded to .45, which I did my dling the installer from oracle. Java 7 u45. Installer said it worked. Chrome still won't start java. $ which java ...
26
votes
2answers
35k views

Uninstalling Java on Lion

I recently installed the Java runtime (through Software Update) and enabled the Java browser plug-in and WebStart on Lion, but I don't need them anymore. Unchecking "Enable Java" in Safari ...
12
votes
1answer
2k views

Why does the version of Java verified by Oracle differ from the version shown at the command line?

Questions Why do versions differ? Should we trust Oracle's verification routine? In some cases, the version verified by Oracle is different from the version shown at the command line. Example ...
27
votes
5answers
40k views

How can I switch between the two Java versions in Mountain Lion now that Java Preferences is gone?

I have two versions of Java installed with Mountain Lion: Apple's Java 6 Update 37 (Java for OS X 2012-006) Oracle's Java 7. The update from Apple removes Java Preferences. In another question ...
10
votes
3answers
18k views

How do I run a jar when I double-click it?

So, I double click on my jar file and it just blinks a window with white screen then it disappears. After that, I right-click and select "Open with jar launcher" it is the same. too. I opened up ...
10
votes
8answers
41k views

Mountain Lion 10.8.2, Java Preferences has disappeared

I just installed the latest Java update from apple (Java for OS X 2012-006) and I was looking to have a look at what's going on with my java(s) with Java Preferences app (which used to live in ...
9
votes
2answers
1k views

Is there a way to determine what application wants Java installed?

After upgrading to Mountian Lion on both my MacBook Air and my wife's MacBook Pro, I recieved a prompt asking to install Java (I did not get this on my iMac). I was wondering what triggered this ...
4
votes
2answers
8k views

How to reinstall Java 6, for development for Android, on Mountain Lion?

Requirement Java 6 for Android development on Mountain Lion. Question Is it possible? What can I do? I've looked everywhere for a way to do this and am unable to find any solution. Background ...
12
votes
3answers
5k views

How safe is it for me to install Java on OS X 10.8

I know very little about how Java works and its interactions with OS X, so I'm partly looking for an expert and simple description on how Java works on the Mac, and why so much press includes "fear, ...
0
votes
1answer
490 views

Eclipse Fails To Launch Complaining of Incompatible Java VM

I get the following error when trying to launch Eclipse, which I recently tried to install. "Version 1.6.0_65 of the JVM is not suitable for this product. Version 1.7 or greater is required." I'm ...
35
votes
3answers
42k views

Mountain Lion with Java 7 only

I performed a clean installation of Mountain Lion and installed JDK7. java -version in Terminal returns java version "1.7.0_05" correctly, still Java Preferences and some other Java programs (such as ...
8
votes
2answers
9k views

How can I circumvent XProtect and re-enable Java Applets?

So, Apple has again updated their XProtect malware definitions to block Java Applets. Unfortunately, my wife's employer's VPN requires an Applet to be run in order to fully establish connectivity. She ...
6
votes
2answers
4k views

Uninstall Java Mountain Lion [duplicate]

How do I completely uninstall Java from Mountain Lion? I wanted to run Minecraft so I followed the system promps and I think I installed Java 7 and then Java 6. I couldn't get Mincraft to work for ...
1
vote
1answer
2k views

Where is my Java SDK 7u7 installed?

I downloaded and installed Java 1.7 from this site. When I run the Java Control Panel, I could check I have it correctly installed. However, when I checked the Java version from command line, the ...
5
votes
1answer
10k views

LSOpenURLsWithRole() failed with error -10810 - Downloaded app does not start

I'm trying to run an application downloaded from the internet (e.g., Jabref) but it seems that it fails silently. When I try to open it by double clicking it, nothing happens. When I use the terminal ...
2
votes
2answers
8k views

Re-Enable Apple Java 6 SE from Command Line?

So, I broke Java Preferences.app. I'm on Mountain Lion. I had Java 6 SE (the Apple-distributed JDK/JRE) and Oracle's Java 7u10 preview. Trying to get a stub app to launch with Java 7, I unchecked the ...
5
votes
1answer
11k views

Make Minecraft (or Java Preferences.app) run on Java 7

Minecraft (and probably some other applications) won't run on a System with the preinstalled Java removed and the current JDK 7 installed. I already symlinked the Java 6 directory to the current one. ...
3
votes
4answers
17k views

Developing iOS apps on Windows 7

Please read my question fully, I searched many questions but that doesn't answer my question fully. We are planning to develop an iOS app using PhoneGap, so we have also purchased $99 Developer ...
2
votes
2answers
135 views

./ vs normal execution

This is probably a question more for unix systems but because i have it on my Mac Pro i hope i will find an answer here : When i browse to ...
0
votes
3answers
11k views

How to enable Eclipse on OS X Yosemite?

I've just upgraded to Yosemite. I'm trying to run the latest version of Eclipse but I get an error saying that Eclipse cannot run on Java 6. Running java --version on Terminal gives me Java 8. Why is ...
17
votes
5answers
104k views

How do I set environment variables on OS X?

I have always difficulties setting the environment variables on Mac like JAVA_HOME, M2_HOME or PATH. How to set these on Mavericks OS X? I did some research but the answers I've found didn't really ...
12
votes
4answers
29k views

Multiple Java versions support on OS X and JAVA_HOME location

I know is possible to have multiple versions of Java on OS X but i find it difficult to understand how it works. I upgraded to Mountain Lion and now echo $JAVA_HOME is empty. However in ...
7
votes
3answers
11k views

Enabling Java 7 on Mountain Lion

The first time I tried to use Java on Mountain Lion, it installed automatically. Unfortunately, it installed Java 6, so I installed Java 7. If I navigate to Java in System Preferences, only Java 7 is ...
7
votes
4answers
26k views

How to increase font size of Eclipse globally?

I'd like to know how to increase the font size for Eclipse so it adjusts the whole GUI to not look so darn small on my screen. For NetBeans there is the --font-size switch which can be set in ...
5
votes
1answer
6k views

What is trying to launch 'java' on my Mac OS X Mountain Lion [duplicate]

Possible Duplicate: Is there a way to determine what application wants Java installed? I recently installed OSX Mountain Lion and as you know, the default install removes any java VM, ...
6
votes
1answer
13k views

Open in Low Resolution checkbox on Retina MacBook Pro checked and disabled

On a Retina MacBook Pro some Java applications (such as IDEA 11.1.3 that is supposed to support it) won't run in HiDPI mode. When I got to "Get Info" on the app, I can see that the "Open in Low ...
6
votes
2answers
780 views

Where is Java installed in OSX Mavericks?

I am setting up Maven on my Mac but it is not working because the JAVA_HOME variable is not defined. I had expected the java installer to create this but alas not. Where is java installed so I can ...
6
votes
3answers
24k views

How do I enable Java Web Start for ASDM Launcher (Cisco ASA management) in Mountain Lion?

I've been trying to get my Cisco ASA management software working and on Snow Leopard, it ran fine. However, even after installing Java manually on Mountain Lion (on my new Macbook Pro), I continue to ...
4
votes
1answer
13k views

How to get Java 6 in OS X 10.8 (Mountain Lion)?

OS X 10.8 removed Java 6 and the Java Utilities switcher and made Java 7 the default jre making it hard for engineers like me who work exclusively on Java 6. How do I get back my Java 6? Note: I tried ...
2
votes
1answer
807 views

Java application install requires root password?

I am currently switching over from Linux to OS X, and in the process have found a few surprising differences between the two systems. I am quite used to the concept of installing most applications ...
1
vote
2answers
502 views

Where else can I download the legacy Java SE 6 runtime?

I just upgraded to OSX Yosemite. I am trying to open my Adobe Flash CS6 app, but it says To open "Flash" you need to install the legacy Java SE 6 runtime. A simple google search yields this ...
0
votes
0answers
217 views

Which browsers with an integral Java runtime environment (JRE) can run that JRE on Mountain Lion?

I know that some old Netscape products included a Java runtime environment (JRE). (I'm not sure where to download the most recent app with that integration, I'll continue to look. ...
8
votes
1answer
733 views

How can I prevent java processes from stealing focus?

Has anyone else noticed that command line java applications in OS X create GUI processes that steal focus (ie, groovy, maven sub processes)? I'm finding it extremely annoying; probably because I've ...
5
votes
1answer
4k views

Will Eclipse + Android Developer Tools plugin work on OS X Yosemite?

I would like to update my system to the newest 10.10 Yosemite version, but I use quite intensively Eclipse + ADT to develop apps for Android. Does anyone have any experience with running this software ...
2
votes
0answers
342 views

How to install Java 6 on Mac OSX 10.75

I am no longer finding Java 6 on my Mac. I suspect when I upgraded to OSX 7.5 it upgraded my Java. I am running an open source project that must be in Java 6. I can only find Java 6 for OSX 6 Is ...
1
vote
1answer
359 views

How can I eliminate this repeated Java Runtime Environment (JRE) pop-up window?

This window has been popping up repeatedly: I was sure that I already had the latest version of Java installed, but to verify I went here: https://www.java.com/en/download/installed.jsp And sure ...
1
vote
1answer
89 views

Using Oracle Java 7 without the plug-in

I need Oracle Java 7 for software running on my Mac, but do not wish to have the plug-in available in my web browsers. How can I accomplish this configuration and maintain it across Java upgrades?
1
vote
1answer
526 views

Need JDK6, but JDK7 won't go away!

I'm running Lion (10.7), and need to use JDK 6 for development, but previously I had installed JDK 7 and I can't seem to get it uninstalled. I ran the JDK 6 installer and seems to be installed in ...
1
vote
1answer
760 views

How to reenable Java Preferences

After installed JDK7, I disabled Java 1.6 in Java Preferences. Then I found the system cannot launch jars by new JDK 1.7, so I want to reenable 1.6, but I cannot relaunch preference again, it told me ...
1
vote
1answer
2k views

How do I increase the heap size for Netbeans and any app run via Netbeans?

I'm trying to run a well-coded algorithm that tries to solve an NP-Hard problem via NetBeans but I'm running out of heap space. Is the heap space I'm running out of specific to Netbeans? If so: how ...
1
vote
3answers
4k views

Can't open Java Preferences with Oracle Java 7 installed

I have both Oracle Java 7 and Apple Java 6 installed. Apple Java 6 is disabled in Java Preferences. Now, when I try to launch Java Preferences I get a "Cannot launch "Java Preferences - No compatible ...
0
votes
1answer
303 views

Adobe Illustrator CS6 with Java 8?

Is it possible to run Adobe Illustrator CS6 with the current Oracle Java 8 rather than the legacy insecure Java 6 provided by Apple? I know this is related to this question where the generic answer ...
0
votes
2answers
318 views

Why is Java SE 6 Legacy required to open Intellij?

I currently deleted Apple Legacy Java SE6 on my macbook because I've already downloaded JRE8 on my machine and I think I no longer need the older version. After I deleted it, every time I opened ...
0
votes
2answers
300 views

Is it possible to use Adobe CS5 with Java SE 7?

I have Adobe CS5 installed (old version because it's what my institutional site license covers) on Mavericks. Whenever I boot my system, I get the following dialog box: However, I don't have Java ...
0
votes
1answer
2k views

Minecraft crashing on Mac OS with Java 8 - any fixes?

When I load or start a new game on Minecraft it crashes. It only happened after I installed Java 8. Minecraft Version: 1.7.10 Operating System: Mac OS X (x86_64) version 10.9.4 Java Version: ...
0
votes
2answers
476 views

Run java bundled in .app from command-line

The question is how do I run some application written in java and bundled into .app package from command-line? The main purpose of this is to run an application under JDK7. So I will start it with ...