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
15 views

Given its filesystem layout, how does the Oracle Java JDK 8 installation work?

This is not a naïve question; please bear with me. Can someone tell me how an invocation of /usr/bin/java on an Apple MacBook Pro from mid-2010 with both the Apple JDK and the Oracle 1.8.0 JDK ...
0
votes
1answer
49 views

Why is a application called “java” always open on my OS X 10.9.2 even when I force quit it?

Whenever I turn my computer on I have this application open called "java." No matter what I do I can't exit it. When I try force quitting it, it's called "bin." Images below show what I'm talking ...
2
votes
2answers
2k views

JAVA_HOME error while maven build, OSX-10.8.4 Version

Error: JAVA_HOME is not defined correctly. We cannot execute /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/bin/java I have upgraded my OSX to 10.8.4. After OSX upgrade I ...
3
votes
0answers
53 views

Is $HOME/.MacOSX/environment.plist still used in OS X 10.9.2 for setting global environment variables?

Is $HOME/.MacOSX/environment.plist still recognized/used in OS X 10.9.2 for setting global environment variables? Apple's official documentation does not say explicitly it's deprecated, AFACT: ...
3
votes
1answer
7k 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 ...
0
votes
1answer
14 views

What is the Home Folder under /Library/Java for?

I installed Java 1.7 from the oracle site. Looking at my folder structure, there is /System/Library/Java and /Library/Java. Under /Library/Java there is a Home symlink that goes to ...
0
votes
0answers
11 views

Error: This Java instance does not support a 32-bit JVM

How can I uninstall java 8 and get java 7 working? I've tried lots of different things and gone in a lot of circles and got nowhere, I keep getting the same messages.
0
votes
0answers
4 views

Missing folders and files in OpenCV installation attempt [migrated]

First, I've read through every SE question and answer I could find regarding my issue and have yet to find any information/solution about a missing .jar file or the inability to add the opencv library ...
2
votes
0answers
20 views

Logo of Java application changes after launch

I have a Java application in my dock, whose icon appears as the following when it is unopened: However, after opening the application, the icon changes into the Java coffee cup logo: This makes ...
2
votes
3answers
14k 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 ...
3
votes
4answers
11k views

How do 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 ...
2
votes
3answers
237 views

Is there any reason why I shouldn't install Java?

I know that you can improve performance and battery life by not having Flash on your Mac. Is there any similar advantage to not installing Java?
1
vote
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
17 views

Jarfiles opening in Unarchiver?

I'm primarily a Java programmer and I work with a lot of executable jar files. I found this morning when I booted up my MacBook that all of my jar files now default to open with The Unarchiver rather ...
6
votes
2answers
360 views

Installer of Oracle jdk-7u45-macosx-x64 hangs on Mavericks

I want to install Java 7 on my Mac which was updated to Mavericks. I downloaded the jdk package from here and after starting the installer I exactly to this point Pressing now Install does nothing ...
1
vote
0answers
21 views

Java - Mistakenly removed /System/Library/Frameworks/JavaVM.framework/Versions [duplicate]

Using Mountation Lion, I've mistakenly removed all of the content in /System/Library/Frameworks/JavaVM.framework/Versions How can I get java working again on my machine? (I don't have it in Trash) ...
0
votes
0answers
95 views

“Failed to validate certificate” error while launching web based Java application

I am trying to launch a web based java application on OSX 10.9.2 (Macbook Pro Retina late 2013). The first time when I tried to open the .jnlp file it prompted me to install Java RE even though I have ...
1
vote
1answer
3k views

Facebook Video Chat plugin no longer works on Mavericks

After upgrading my Mac OS X 10.6.8 Snow Leopard to OS X 10.9 Mavericks, I've encountered a minor problem. The video chat plugin of Facebook no longer works. On the Facebook chat box, the video chat ...
1
vote
1answer
386 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 ...
3
votes
1answer
256 views

Is it possible to install JDK 7 after installing MATLAB on Mountain Lion

I need to install MATLAB using an internet connection, but according to the docs I can't install MATLAB with a connection if I have JDK 7 installed on Mountain Lion. According to MATLAB, the solution ...
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 ...
0
votes
2answers
1k views

Cannot open Java Preferences

I don't know what the problem is. I recently went to Lion (Developer Preview) and restored a fresh new copy of 10.6. I later updated everything and then tried to open Java. It keeps giving me this ...
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 ...
3
votes
1answer
44 views

How to use an application name to kill it from a script

I'm trying to create a cron job to prevent children at a school from running the Minecraft server. (We actually need them to run the Minecraft client because we use it to teach programming.) The name ...
0
votes
2answers
56 views

eclipse wrong VM related to java 1.7

So I have been searching for hours on this. So I installed java 1.7 on my mac before I realized I wanted/needed to use 1.6. I have managed to change everything so that the command line sees version ...
0
votes
0answers
26 views

Untrusted apps are not allowed to connect to or launch Window Server before login

<?xml version="1.0" encoding="UTF-8"?> <plist version="1.0"> <dict> <key>Label</key> <string>com.ash.login</string> ...
0
votes
0answers
34 views

Profile Manager 2 (10.8.5):

We are using Apple Profile Manager 2 on mac 10.8.5, the issue we are having is as follows. In the configuration of a device group under the restrictions payload, the setting to restrict applications ...
10
votes
3answers
2k 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, ...
1
vote
0answers
34 views

Disabling Java plug-in globally?

After following the instructions in this answer (briefly: Java prefs pane → Security → disable "Enable Java content in the browser") to disable the Java plug-in globally, I'm presented with an admin ...
1
vote
0answers
28 views

Code Signing of App with bundled JDK7 on Mavericks 10.9.1

I have a Java 7 application which I turn into a MacOS App following the instructions on http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/packagingAppsForMac.html. This is no longer working. ...
0
votes
1answer
62 views

Java 6 doesn't work on OS 10.6.8

i don't understand and need some help: java doesn't work anymore for a few months and i don't know why. I have installed the latest version from apple, actually the 1.6.0_45-b06-451 on my imac 21,5" ...
0
votes
0answers
102 views

Prevent switching focus to a Java app that launches in a new window

When I start a Java app in a Terminal or Eclipse, OS X launches the app in a new window taking the focus away from the app you launched it from. This is incredibly annoying if for example one has ...
1
vote
3answers
2k views

Is it possible to upgrade from Java 5 to Java 7 on OS X 10.5.8 - Leopard?

I'm using OS X 10.5.8 - Leopard. I updated Java via Software Update and the newest Java I could have installed in MacBook was Java 5. This is the screenshot: Can I somehow update Java 5 to Java 7? ...
1
vote
1answer
52 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?
5
votes
3answers
3k 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 ...
0
votes
1answer
26 views

Can Java 5 be installed on any other OS other than OS X 10.5?

I have a legacy application that requires Java 5. I am using OS X 10.6.8. When I try to install the Apple Java 1.5 update, I see a warning that says Java 5 can only be installed on a OS X 10.5 system. ...
3
votes
1answer
36 views

How to Open .dist extension as folder on Mac OS X?

I'am currently developing Java application with Eclipse IDE and having this folder named "workspace.dist". This contains the deployed portlet to be deployed to a framework. Now my problem is, Mac OS ...
0
votes
2answers
188 views

Upgrade JRE in Mavericks [duplicate]

Am trying to run eclipse in maverick but a dialog box says that version 1.7.0 or later is needed to run Google plugin for Eclipse. My mac has version 1.6.0 when I run java -version from the command ...
10
votes
2answers
29k views

How do I install JDK 1.6 in Mavericks?

When I upgrade to Mavericks, it uninstalls Java 1.6. I can install Java 7, but for some applications and development work, I still need access to Java 6. How can I reinstall Java 6 in Mavericks? ...
6
votes
3answers
13k views

Installing 64-bit java on Mac OS X Lion?

When playing Minecraft 1.0, a java-based game, when I switch the rendering options to "Far", the game shows a message saying that memory usage for the game might be too high in Far rendering mode, and ...
3
votes
2answers
703 views

How to launch apps that require Java on Mountain Lion with only Java 7 installed?

Just got a brand new MacBook Air which shipped with Mountain Lion 10.8.4 and no Java installed. There is a /usr/bin/java, but running it would prompt me to install an Apple-distributed Java 6 runtime ...
0
votes
1answer
40 views

Inactive memory vs swapping

I'm trying to process a large dataset in java, and so I set my -Xmx11G. 1 thing I observed is, when I use xmx and the Jvm starts, the amount of inactive memory jumps up by about that much. Later, I ...
0
votes
0answers
792 views

How can I uninstall Oracle Java 7.51 on OSX Mavericks or go back to an earlier version of Java?

I have a MacBook Pro with OSX Mavericks. I had my automatic update switched on for Java (unfortunately). So when I was asked if I want to update I naturally said yes. With the update I am having ...
1
vote
1answer
165 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 ...
5
votes
1answer
6k 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. ...
0
votes
1answer
237 views

How should I manage different version of Java (JRE and JDK) on Mavericks?

I would like to know what the best way would be to have multiple versions of Java (both JRE and JDK) installed on Mavericks, and also the best way to be able to use these version with Eclipse. ...
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 ...
0
votes
1answer
75 views

Is Java for OSX 2013-005 from apple a JDK6, or just a JRE?

I'm setting up my android development environment, and could run all my configurations (eclipse + android sdk) with either jdk from oracle,or java for osx 2013-005 from apple. when I installed Java ...
1
vote
1answer
28 views

How do I make my list filter in Java usable in Automator as a service?

A friend of mine has written me a small Java application that is used to filter two lists of words (used for work sadly). Currently I would run the application in the terminal like so: java ...
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 ...