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

learn more… | top users | synonyms

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
2k 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
15k 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
638 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 ...
6
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
396 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
682 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
10k 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 ...
21
votes
4answers
16k 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
5k 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
36k 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
664 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
134 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
1k 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 - ...
8
votes
2answers
9k 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
233 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
332 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
737 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
560 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 ...
2
votes
1answer
5k 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
401 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
63 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
286 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
3k 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
832 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): ...
3
votes
7answers
23k views

How to get Java applets working with Chrome?

I use Gotomypc which is either a Java applet or an App. The Gotomypc applet will launch under Firefox or Safari but not Chrome. When I launch the app under chrome I get the yellow status bar at the ...
31
votes
3answers
37k 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 ...
4
votes
1answer
3k views

Where is “jvisualvm” in Mountain Lion

Just upgraded to Mountain Lion (of course). I use Java on a daily basis so I asked Mac OS X to install it right away. It installed "Java 6". I am more than OK with it. The only thing I don't have is ...
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 ...
9
votes
4answers
25k 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 ...
8
votes
2answers
598 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 ...
5
votes
1answer
6k views

Does Mountain lion download Apple's JDK or the OpenJDK when attempting to load a Java app?

When you first try and load a Java application (eclipse, run mvn commands etc) Lion prompted you to download a JRE/JDK. From my understanding this is still Apple's version of Java and not OpenJDK. ...
2
votes
0answers
881 views

Issue with Java in Mac OS X 10.7.4 [closed]

I bought Mac Pro, I have been trapped with Java. I am a Unix and Windows user. I've never faced these kind of issues before with Java. Previously, I had some issues with the Java path, which I asked ...
0
votes
0answers
164 views

Could not execute the java executable while running Play 1.2.1

I am facing this issue whenever I am trying to run Play 1.2.1 in my system. Previously, I had Play 2.0 in my system. I exported the $PATH variable so that $PATH contains the path to Play 2.0 ...
5
votes
6answers
8k views

Java and Mac retina support

Does Java support the retina display with high definition rendering of, for example, text? Or is it treated as an unmodified application, and therefore subject to scaling?
1
vote
1answer
130 views

How can app file be treated as a file in Package Explorer for Mac OS X?

Can I customize Package Explorer to treat a folder as a file? Actually, I want to keep a .app file in my project as a file. But when I keep it in Eclipse, it is treated as folder. Can I change this ...
1
vote
1answer
220 views

Java3d applet won't render on Lion

I have no idea what's the problem, but Java3D isn't rendering in applets. For example if I go to this page: http://www.java3d.org/howto.html and I see the first applet but not the second one. Also ...
1
vote
1answer
1k views

Unable to locate an executable at “/usr/bin/java/bin/java”

I am having an issue with Java in my Mac (OS X 10.7.3). Previously I installed it and it was working fine. After some changes in the .bash_profile and .profile file in the course of time, I am having ...
1
vote
2answers
859 views

JavaVM.framework deleted and not anymore able to install Java [closed]

/System/Library/Framework/JavaVM.framework and /System/Library/Java have been deleted from my disk. I thought of making things back to normal by running the last Apple Java update (Java for OS X Lion ...
2
votes
2answers
220 views

What does “com.apple.*” mean in plist titles

I have a programmable Logitech mouse, which allows me to assign different configurations to different applications, but ONLY .app files, but I wish to assign a profile to Java, which is a binary not ...
5
votes
1answer
587 views

Error with MATLAB

I regularly use MATLAB from the command-line instead of launching the full graphical user interface. Ever since I made the last update of OS from 10.7.3 -> 10.7.4, I started getting the following ...
1
vote
0answers
110 views

Restore Safari Java Applet Placeholders

By default Safari has Java disabled, but places a “plugin content” placeholder or something similar where the Java Applet would be. However, if you enabled Java and then disable it again Safari no ...