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

learn more… | top users | synonyms

10
votes
3answers
15k 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 ...
0
votes
1answer
14 views

JDK - Platform Not Recognized - Running Eclipse or mvn

I screwed it up! I upgraded to Java 8 yesterday and that trashed some projects I was working on so I attempted to downgrade back to Java 7 and the wheels came off. I've removed the previous Java ...
3
votes
2answers
84 views

Could the Java Updater (com.oracle.java.Java-Updater) be the source of all my kernel panics?

In the past few months I've been getting more kernel panics than usual. This is on my late 2012 2.3 GHz Intel Core i7 Mac Mini, running OS X Yosemite (OS X 10.2.2) with 16 GB of RAM. Looking at the ...
1
vote
0answers
11 views

How do I automate selecting files in a .jar file?

My .jar file has a number of buttons that, when clicked, prompts me to select a file to load. I need to find a way to get this file selection to be automated, and decided on applescript. ...
0
votes
1answer
1k views

Can't update Java due to apparently newer version already installed

I'm trying to update Java on my MacBook (OS X 10.9.5). When I download the most resent version (v8 update 40) from java.com and try to install it, it pops up an error box saying You are trying to ...
0
votes
0answers
50 views

Cannot enable Java in Safari

I have the following running on my Mac: OSX Yosemite (10.10.2) Java version 8 update 31 Safari 8.0.4 I am unable to run any Java applet on Safari. I have added multiple sites to the exception ...
2
votes
1answer
5k views

LSOpenURLsWithRole() failed with error -10810

Downloaded and installed the AirStream application, and when I launched it nothing happens. In Terminal the output is $ open /opt/homebrew-cask/Caskroom/airstream/latest/AirStream.app ...
0
votes
1answer
16 views

Linker Error: leJOS NXJ HelloWorld complains 32 bit JVM unsupported

I trying to get started using leJOS NXJ to develop in Java for my Mindstorms NXT. I've installed Oracle's Java 8 JDK, Eclipse and leJOS NXJ on my Macbook Pro running Mountain Lion. When I try to ...
0
votes
1answer
1k views

How to locate UI Button for AppleScript using Accessibility Inspector

There are several articles here that address this question, but none offer the help to connect-the-dots. The attached screen shot shot shows Accessibility Inspector for the button in question, which ...
0
votes
2answers
156 views

How to uninstall Java 1.8 under OS X 10.10 Yosemite?

There are a few answers on old questions about the same issue under Lion / Mountain Lion. Now with Java 1.8 and OS X 10.10 I wonder if anything has changed? Would be great to have exact removal steps. ...
2
votes
2answers
2k views

Java Pop-Up Window

I keep getting a pop-up window that states "To view this content you must download Java Runtime Environment". I even got it while using Pages. Now supposedly one cannot get viruses on Macs ...
0
votes
1answer
86 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 ...
1
vote
1answer
4k 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 ...
0
votes
0answers
135 views

What causes the pop-up “To view this web content, you need to install the Java Runtime Environment”

On OSX Yosemite an annoying pop-up comes up quite often saying: To view this web content, you need to install the Java Runtime Environment I know the solution is to install java; however I'm ...
0
votes
0answers
35 views

How to REALLY update Java? [duplicate]

System preferences tells me that I have Java 8 Update 40 on my Mac Book Pro. However, Eclipse IDE complains that it needs at least version 1.7 or greater. And on the console, java -version tells me, I ...
10
votes
2answers
29k views

Install Java JRE 6 (next to JRE 7) on OS X 10.10 Yosemite?

I need to test a web application with JRE 6. I am using a Mac with OS X 10.10 and Java 7 for development. How can I install JRE 6 next to Java 7 on this Mac? This previous answer does not yet ...
0
votes
1answer
1k 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: ...
2
votes
2answers
7k 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
1answer
101 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 ...
26
votes
5answers
32k 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 ...
5
votes
3answers
8k 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 ...
1
vote
2answers
71 views

How to start SQL Developer with the correct Java Version?

I've Java 1.8 installed on my Mac OS Yosemite... and Terminal shows the following: mccoy:~ daniel$ which java /usr/bin/java mccoy:~ daniel$ java -version java version "1.8.0_25" Java(TM) SE Runtime ...
3
votes
1answer
2k views

I installed Oracle Java JDK 8 but java command line is still reporting it is version 7

I installed jdk 1.8.0 u5, but the command line java is reporting 1.7: $ java -fullversion java full version "1.7.0_51-b13" $ which java /usr/bin/java $ ls -l /usr/bin/java lrwxr-xr-x 1 root wheel ...
7
votes
2answers
2k 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 ...
2
votes
1answer
29 views

Apple says I'm signing an app with old OS version, and I'm not

I'm trying to submit a Java-based app to AppStore. After having the worst headaches in my life trying to sign everything my last problem (I hope!) is this: Invalid code signature - Signatures ...
2
votes
1answer
112 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 ...
10
votes
8answers
40k 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 ...
2
votes
1answer
648 views

Can't run Intel Driver Update Utility on OS X

I cannot run the Intel Driver Update Utility on OS X Mountain Lion (10.8.5). All Java options are enabled (have tested in Safari, Firefox and Chrome) and latest Java version installed. It keeps saying ...
-1
votes
3answers
242 views

How do I install Apache Tomcat 7.0.x on Yosemite? [closed]

I am a junior-level developer beginning to work on a project that requires me to use Apache 7.0.x, and I'm running Yosemite with a Windows 7 VM. When I did some research on how to get Apache, I ...
0
votes
0answers
19 views

How to install java 7 on yosemite properly? [duplicate]

When I type java -version I see: No Java runtime present, requesting install. I go to download and install jre-7u75-macosx-x64. After that in preferences I see Java control panel which tells me ...
4
votes
2answers
7k views

Yosemite keeps asking to install Java runtime, while it's installed

I was prompted to install JRE version 8 after upgrading to Yosemite on the family 2010 21" iMac. After I installed it (and checked whether the correct version was installed on the site of Oracle) it ...
0
votes
1answer
178 views

“Failed to install SGD client” when accessing the secure global desktop from OS X

I am having an issue since I have upgraded to OS X Yosemite. I used to previously remotely access my work's Windows system from my Mac (OS X Mavericks). I had installed XQuartz and Java and was using ...
9
votes
3answers
6k 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
2answers
123 views

Java 8 is not working

I have updated to yosemite and installed java 8. But, it is not working. When I try to verify java version or run any java app on browsers (chrome and safari), I see blank field. If there is any ...
1
vote
1answer
210 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 ...
-2
votes
1answer
21 views

I hava java 7, but can't get to it

I have java 7, according to the java control panel, and an online tester, but I can't switch to it, it doesn't show up anywhere. It just says I have it. Is there any way to do it without admin access? ...
0
votes
1answer
25 views

How to restart a process without user interaction

I killed a process (a simple .jar running in the background as a global agent) by pkill -9 java. Since the global agent in launchd is configured as keepAlive the process gets restarted immediately. ...
1
vote
3answers
109 views

Shell script to restart a certain process if it is not responding

I need an java application to run 24/7 on my mac. Unfortunately the JVM process sometimes gets stuck and thus the java application does not respond anymore. Is there a possebility to detect if a ...
6
votes
4answers
22k 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 ...
0
votes
2answers
81 views

I can't find the location of jdk for Java 7 and 8 [duplicate]

I have 3 different versions (jdk) of Java installed: 6, 7 and 8. In bash_profile: export JAVA_HOME=$(/usr/libexec/java_home -v 1.8) setjdk() { export JAVA_HOME=$(/usr/libexec/java_home -v $1) } ...
1
vote
0answers
54 views

Location of java.security and deployment.properties files

Where are java.security and deployment.properties files located on Mac OS Yosemite??
11
votes
5answers
74k 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 ...
1
vote
1answer
325 views

Now when Chrome is 64-bits, how do I install the Java plugin?

As long as Chrome just was 32 bit, the Java plugin was not supported since Java for Mac OS X is 64 bit but now when Chrome (since version 39) is 64 bit, how do I install/enable the Java plugin? ...
3
votes
1answer
277 views

Is it possible to update Java7 without first uninstalling Java8?

On my MacBook I've got Java 6 through 8 installed and I happen to need and use them all on a daily basis. Lately it has been bothering me that every time I want to install an update to Java7 I need to ...
0
votes
3answers
6k 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 ...
0
votes
1answer
269 views

Problem with installing Java: java: command not found

I just installed Java 8.25 but I'm still not getting 'legacy' applications to work. I tried verifying the version in terminal: manfred$ java --version -bash: java: command not found I think there's ...
0
votes
1answer
53 views

What are the dimensions for the apple dock icons?

I have figured out how to change the icon for my program that I made in java, but now the default icon goes and nothing is there, is it because of the incorrect dimensions? I currently have a 16x16 ...
1
vote
1answer
115 views

How to launch web start on 10.10 OSX

My wife is taking an online class and it says it needs to launch using Java Web Start. I've changed the endings from .ed files to .jnlp files and make sure I click open other and select Java Web ...
1
vote
1answer
36 views

iMac install Java, webpage test succeeds, `javac` fails

I'm trying to install Java on my iMac running 10.9.5. I downloaded and installed JDK according to the official Oracle instructions. When testing via the web-page at the end of the install, Java is ...
5
votes
2answers
18k 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 ...