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

learn more… | top users | synonyms

2
votes
0answers
196 views

How to disable/bypass Safari outdating/blocking/disabling plugins? [duplicate]

Although I wrote the question in a general way, my example is pretty specific. Tonight, as soon as I got into a site that uses Java, Safari told me (nice alert window, though :-)) that Java should be ...
6
votes
1answer
1k views

How to install Java 7 next to Java 6?

I am using a MackBook Pro with Mac OS X 10.8.2. I currently have Java 6 installed: wdb-laptop:~ wdb$ java -version java version "1.6.0_37" Java(TM) SE Runtime Environment (build ...
8
votes
2answers
8k 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 ...
1
vote
2answers
3k views

Java Applets refuse to work in Safari or Firefox

Mac OS X 10.7.5 Safari 6.0.2 Firefox 18.0.1 Java 1.6.0_37 64 bit Firefox Java Applet Plugin v 1.6.0.37 Safari Preferences has the "Enable Java" box checked. Firefox has the Java Applet Plug-in ...
2
votes
1answer
771 views

Java on Mountain Lion 10.8.2 pitfalls

I downloaded the latest version of Java from Oracle site and installed it on my mac. MacCris:~ cris$ java -version java version "1.7.0_11" Java(TM) SE Runtime Environment (build 1.7.0_11-b21) Java ...
1
vote
0answers
25 views

Is there an application to analyze this which application created a generic process in ram?

I noticed a generic "Java" process is using between 1-2GB of Ram after I upgraded to Mountain Lion. I know a lot of the apps I use require java. I have closed out all my apps and still it is using ...
4
votes
2answers
12k views

How do I turn a folder into a .jar file?

I currently have modified a program that is a .jar file. I had unarchived it and turned the .jar file into a folder so that I could edit it. Now all I need to do is change the folder back into a .jar ...
1
vote
0answers
327 views

Safari always asks me to install the newest version of Java

I need to run an applet that requires the latest version of Java. Whenever I try to run that applet, it asks me if I want to install Java. So it sends me to the Java site and I download it. Then I ...
9
votes
3answers
3k views

How can I completely remove Apple's Java 6 and make Oracle's Java 7 default for everything?

I would like to completely remove Apple's Java 6 and make Oracle's Java 7 default for every program. For example, with Eclipse I had to fiddle with eclipse.ini to specify JAVA_HOME for Java 7, and the ...
0
votes
1answer
365 views

Retina dsiplay support on Intellj Idea for Java /JavaScript development

I have seen this question on retina display issues while working with Eclipse on Macbook . I have a latest personal Intellij Idea License and would like to know your views of retina display support ...
3
votes
1answer
8k 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 ...
3
votes
1answer
2k views

Why doesn't /usr/libexec/java_home recognize JDK 1.8?

I am trying to install a JDK 8 on OS X Mountain Lion (to experiment with the new lambda features). Starting point A machine recently updated from OS X 10.6 to 10.8, with $ sw_vers ProductName: ...
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
0answers
177 views

How to open a jar by default?

I had a question "How do I run a jar when double-click it?" But now I know that my computer is not set to open jars by default. Is there a settings in the mac that open jars by default? All the jars ...
2
votes
2answers
6k views

Java WebStart fails on Mac OS Mountain Lion

After searching several hours for a helpful hint on support pages and FAQs that really (!) work this question: I need Java WebStart for an application that works on MAC OS X (Mountain) Lion. So far ...
0
votes
0answers
171 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. ...
6
votes
3answers
15k views

“Minecraft” is damaged and can't be opened on Mountain Lion

I'm trying to run Minecraft on Mac OS X Mountain Lion. I downloaded the zip file (link here) from minecraft.net and unzipped it. Double clicked on the icon and it tells me, "Minecraft" is damaged ...
4
votes
2answers
7k 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 ...
1
vote
3answers
3k views

Why is Java using so Much Real Memory?

Java is consistently listed as using 700MB of real memory. That is a nice chunk of change on my 4GB iMac. I don't even know that I am running a Java Application, ever. Any ideas?
5
votes
3answers
17k 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 ...
5
votes
2answers
7k views

Why does Java SE 6 Web Start (javaws) not find the JRE with Apple's Java for OS X 2012-006 on Mountain Lion?

In brief The JRE is installed but javaws can not find the JRE. What can I do on the command line to re-enable the web plugin for Apple's Java 6 in Chrome or Safari? I want to avoid Java 7. (We're ...
2
votes
0answers
646 views

Java Web Start launched in Finder says no JRE available. Works fine in console

Followed solution here - Java for OS X 2012-006: How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality to restore browser java plug-in, works fine now. But still ...
9
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 ...
0
votes
1answer
431 views

“Pasting” text to Java applet through keyboard emulation

I have a Java applet that I need to paste lots of text into. However, the paste options doesn't work (neither keyboard shortcut, nor right-button menu). I'm looking for a way to emulate a keyboard ...
2
votes
2answers
831 views

Latronix KVM stopped working after last java update

I see this error when open jnlp file via javaws manually: java.lang.AssertionError: Threading violation: not AppKit thread Is there anything I can do with it?
2
votes
2answers
7k 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 ...
7
votes
2answers
11k views

Java Plugin for Chrome on OS X Mountain Lion 10.8.2

I'm trying to use webex in Chrome. To click on webex links, I need the java plugin. However, it appears that a recent OS X Mountain Lion update removed the java plugin from my computer. When I try ...
22
votes
4answers
20k 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 ...
3
votes
1answer
6k 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 ...
10
votes
7answers
38k 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 ...
4
votes
1answer
707 views

Install Older Versions of Java on OSX 10.8.1

I have a MacBook Pro Retina, running 10.8.1 and Java 1.6.0_35 I need to install some older versions of Java in order to track some bugs that my customers are seeing on older versions of Java. I ...
2
votes
1answer
2k views

Install 32bit Java 7 OpenJDK

Motivation I have a proprietary java application which used to work under Snow Leopard but fails under Lion with the following backtrace: Exception in thread "AWT-EventQueue-0" ...
1
vote
0answers
136 views

Can I get Lion (or newer) to stop asking me about Java?

From time to time, I get a system dialog box that asks if I want to install Java. I always say No. Is there a way to get it to stop asking me?
6
votes
2answers
2k views

Java 7 JRE Not Detected on Clean Install of Mountain Lion

I know there similar questions on how to enable the Java 7 JRE on Mountain Lion when Apple's Java 6 JRE is installed as well. But I just did a clean install of Mountain Lion, installed Java 7 JRE - ...
10
votes
3answers
11k 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 ...
1
vote
1answer
234 views

How can I keep Java 7 up to date?

As far as I understood Apple provides only Java 6 for Mountain Lion. Here I found how to install and use Java 7. However I suppose that by installing Oracle Java it will not be update by means of ...
2
votes
1answer
366 views

Mac OS X Java megazoomer: no matching architecture in universal wrapper

Whenever I try to run a Java program with a GUI through Terminal using the `java' command, I get the following error: 2012-09-17 11:37:35.287 java[2486:2617] Error loading /Library/Application ...
0
votes
2answers
897 views

Is JavaScript secure? [closed]

I have a couple of websites I have to use that require Java so I am leaving it on in Java Preferences.app, disabling it on all browsers bar one that will only be used for those sites. Am I safe to ...
-1
votes
1answer
565 views

Macbook won't boot, possibly HDD issue

I am posting this for a friend who is having this problem but obviously can't post this himself as his computer will not boot up. He started having problems after a video game crashed during online ...
1
vote
1answer
1k 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 ...
3
votes
1answer
6k views

Installing glassfish on Mountain Lion

I downloaded glassfish-3.1.2.2-unix.sh from glassfish.java.net. To install I did chmod +x glassfish-3.1.2.2-unix.sh then i tried to run it : $ ./glassfish-3.1.2.2-unix.sh This program requires ...
0
votes
1answer
3k views

How to I change the default JVM heap size on OS X?

I am looking for a way to change the default JVM memory settings on OS X, not for a specific application. And, yes I know that each application can override this. Currently running Java 1.6 on OS X ...
1
vote
1answer
1k 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 ...
0
votes
1answer
443 views

Java applets freezes browser [closed]

Java applets freezes every browser (Chrome, Safari, Firefox). Java version: 1.6.0_33 Software: OS X 10.8.1 (12B19) "Native" Java applications (like Eclipse etc.) works fine.
1
vote
1answer
67 views

Is it normal to have duplicate JVMs or JDKs in a MacBook?

I just bought my first MacBook Pro a week ago and this morning, I installed the Java for OS X 2012-004 Developer Package at http://connect.apple.com. Right now, I'm encountering a bunch of weird ...
4
votes
1answer
298 views

Is there a way to enable Java only for specific applications?

I know that it is possible to completely disable Java in OS X, and to disable its use from within a given browser. I use just one or two applications that require Java, and would like to enable it for ...
4
votes
1answer
4k 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, ...
2
votes
1answer
916 views

How to launch jar the same way Jar Launcher does

The source of this problem is that Jar Launcher (/System/Library/CoreServices/Jar\ Launcher.app) runs the jar just perfectly (as far as I know, the Jar Launcher app is the one that runs jars which you ...
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 ...
2
votes
3answers
2k views

Java won't work in Chrome/Safari/Firefox, but does in Terminal

I've updated to Oracle's 1.7 64-bit beta, and this is what my Java Preferences window looks like (you will note that the webapp checkbox is checked and I've restarted my machine since checking it): ...