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

learn more… | top users | synonyms

5
votes
1answer
218 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: ...
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 ...
0
votes
1answer
21 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 ...
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 ...
1
vote
1answer
1k 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 ...
1
vote
0answers
28 views

What can edit an .ai files TEXT layer (besides Illustrator)?

so, i have CS6 on Mac (OS Mavericks). my Mac took a nose dive recently. long story super short... i have a new mac & re-installed my CS6 on it. but, in order to launch Illustrator, it requires ...
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
1answer
91 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
0answers
14 views

How to add tools.jar to JDK 1.6 in OsX Maverics?

Running the maven script I am getting the error: Failed to execute goal com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin:1.2:generate (default) on project smartdestinations-connect: Execution ...
3
votes
4answers
26k 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 ...
0
votes
0answers
25 views

Easy alternation between different Java version installation

I currently have Java 6 installed on my system (please don't laugh) and we are moving to Java 8. So we have changed the main branch of our application to use Java 8, however, we need to support old ...
0
votes
0answers
13 views

Where is my java console on macosx

Running MacOsX 10.7.5 and java version "1.6.0_65" Do not find the java panel in the Preferences nor in the Utilities. Can I open the java console from the Terminal command?
15
votes
2answers
47k 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? ...
1
vote
1answer
81 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 ...
0
votes
1answer
26 views

Java 7 on PowerPc

I have several powermac G4 computers running leopard, and would like to use them as a test environment for my Java 7 based applications. I have looked online a bit but could not find any way to ...
0
votes
1answer
18 views

Java Certificate Issues

Overview We are building a JAVA Application that communicates data over secure HTTPS lines. Problem When we run our application from Eclipse/Terminal, via the command "java -jar ...
0
votes
1answer
35 views

Fresh install of Eclipse on 10.9.2 cannot access com.apple.eawt package contents

I just got a Mac so I am a total newbie (I picked one up because I was unable to successfully do Mac development on my Windows Machine). The machine I have is at OS 10.9.2 and I installed Eclipse ...
0
votes
0answers
47 views

Unable to get Oracle Java 8 on OSX 10.7.5

I downloaded the jdk-8u5-macosx-x64.dmg file from Oracle website: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html I go through normal process of installation and ...
0
votes
1answer
171 views

Java class file could not be launched on startup

I'm not sure what happened but now when I boot up my Mac I get this message that pops up every time: "The Java class file "myClass.class" could not be launched. Check the Console for possible error ...
0
votes
1answer
37 views

/Library/Java - deleted it, how to restore?

I'm having problems with long shutdown times and I read somewhere that deleting /Library/Java would solve it, so I did. It didn't do sh*t. What was the content of that folder (a screenshot might ...
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
151 views

Java 7 Update 55.pkg can't be installed because its digital signature is invalid

I'm trying to install Java in order to use the Safari plugin. The "missing plugin" functionality redirects me to the Java download page, where I downloaded a file named jre-7u55-macosx-x64.dmg, which ...
1
vote
0answers
29 views

How can I allow a “development” program through the firewall?

I have an application (java) that I compile/run through netbeans, I want to access it from a different computer. Opening a port might be the best solution, though if so I'd like to be a little more ...
1
vote
2answers
131 views

Why does a Java based app in OS X have 2 different user interface designs?

I quote 2 images from Google. Look at the tabs. They are totally different. I have just finished migrated to OS X. I always believe that OS X provides a uniform user interface to make their apps ...
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
69 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
54 views

How do I delete Java application preferences?

I am running Jabref v2.10 on Mac OS X 10.9.2. After changing some parts of the configuration file manually, I seem to have broken the preferences and now it fails to start. The application stores the ...
0
votes
1answer
311 views

Java applets in a browser on Mavericks?

Is it possible to run a Java applet in any browser in MacOS 10.9.2? Chrome does not work with Java applets because it's a 32 bit app and the Java plugin is 64 bit only. Firefox and Safari both should ...
0
votes
1answer
72 views

how to opn jnlp files automatically after download

I need to open JNLP files automatically after download just like in windows how can I do that I'm using OS X Mavericks
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
1answer
39 views

What are stub applications?

I am trying to understand how and where Java is installed on my Mac (Mavericks this time) and I found this question and answers: Need help understanding Oracle's Java on Mac — Stack Overflow Here ...
2
votes
0answers
94 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
75 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
3k 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
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 ...
0
votes
1answer
24 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 ...
2
votes
0answers
44 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 ...
4
votes
4answers
14k 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
270 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?
0
votes
0answers
28 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
455 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
22 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
432 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
438 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
334 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
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 ...
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
80 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
134 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 ...