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
584 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: ...
2
votes
0answers
57 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 ...
0
votes
0answers
37 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 ...
0
votes
0answers
636 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 ...
0
votes
0answers
128 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> ...
3
votes
1answer
132 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 ...
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
69 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 ...
2
votes
0answers
65 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
1answer
145 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
102 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" ...
1
vote
1answer
82 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?
3
votes
1answer
76 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
1answer
27 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. ...
0
votes
2answers
371 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 ...
0
votes
1answer
72 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
1k 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
463 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 ...
1
vote
1answer
1k 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. ...
0
votes
2answers
324 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 ...
1
vote
1answer
275 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
41 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 ...
4
votes
1answer
602 views

SIGSEGV when trying to install Java EE SDK 7 on OS X Mavericks

I tried to fresh install Java EE SDK 7 Update 45 on OS X 10.9.1 I did export DISPLAY=:0 then sudo ln -sf /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java /usr/bin/java ...
1
vote
1answer
77 views

How to get to know which app causes the “would you like to install java?” dialog in Mavericks to appear?

I have apparently had Java installed at some point and Mavericks removed it, which is fine by me. The problem is that some unknown app is constantly trying to run Java, causing this dialog to appear ...
1
vote
0answers
21 views

Is it possible to use Oracles Java 7 in general instead of apples Java 6? [duplicate]

i have recently bought my first rMBK and i really love it. i would like to start programming in java and have therefore tried installing two IDEs, eclipse and NetBeans. i have also made sure to ...
2
votes
2answers
121 views

./ vs normal execution

This is probably a question more for unix systems but because i have it on my Mac Pro i hope i will find an answer here : When i browse to ...
2
votes
0answers
73 views

Activity Monitor confusion

I have two java programs that run forever until I terminate the process, I start both at once using a script.... Cobrakai$more startCapture nohup startCaptureA.sh & nohup startCaptureB.sh & ...
6
votes
2answers
496 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 ...
2
votes
0answers
54 views

X forwarding application shows blank window after one successful load

I'm running into a strange issue trying to forward an application from a remote Linux server over X (through ssh). The application (it is a java application---a commercial program, not my own) seems ...
5
votes
3answers
5k 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 ...
1
vote
1answer
1k views

Is Java 6 on Mavericks safe to use?

I have some web applications (java applets) which have trouble running with Java 7 and java 64 bit. The tech support wants me to install Java 6 and disable Java 7, here are the instructions: ...
2
votes
1answer
3k views

Running Java in “Unsafe mode”

Since the last Safari update (I'm on Lion, 10.7.5), I've been unable to connect to a client's VPN. Their VPN runs via a Java network client from Juniper Networks, and it appears to require ...
2
votes
1answer
2k views

Javaws unable to locate JRE on 10.9 Mavericks

From the command line, running javaws results in the message: $ javaws No Java runtime present, requesting install. Unable to locate a Java Runtime to invoke. $ java -version java version "1.7.0_40" ...
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 ...
18
votes
2answers
64k 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
4answers
40k 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
1answer
405 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 ...
1
vote
3answers
3k 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? ...
0
votes
1answer
81 views

JavaScript problem while installing NetBeans and JDK in OS X 10.5.8 - Leopard

I downloaded the newest version of NetBeans and JDK and wanted to install it on my MacBook that runs on OS X 10.5.8 but I couldn't. This is the screenshot I made : Maybe since the this OS X version ...
2
votes
1answer
791 views

Where is java? Java Control Pannel has disabled “View” button and Terminal still response with “No Java runtime present, requesting install”

I installed java from the oracle's website. Now I have a Java Control Panel in the System Preferences. But in the tab "Java" of Java Control Panel there is the button "View" disabled. And if I ask ...
2
votes
1answer
432 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 ...
3
votes
2answers
1k views

Does Java come pre-installed on Mac OS X 10.7/10.8 and beyond?

Does Java (the JDK) come pre-installed with Macs on OS X 10.7/10.8 and beyond? I am hearing Apple is going to stop shipping Java with 10.8 and beyond but I couldn't find any link to confirm it/deny ...
1
vote
1answer
162 views

How to migrate from JRE 1.6 to JDK 1.6?

My Mac Mountain Lion came with JRE 1.6. However, I would like to have the full JDK. I read somewhere that for that on Mac it is better to consult Apple rather than Oracle for downloads/install ...
0
votes
1answer
75 views

Malware? .systemRootModeFile in ~/users/me/library

Non-techie person asks: There is a .systemRootModeFile in ~/users/me/library. Is it malware, something horrible? In the hidden library folder in ~/users/me I have a folder named .f5cd. Inside that ...
0
votes
2answers
80 views

How Can I install Java on mac [duplicate]

I want to install java plug-in in firefox . I read that installing java plug-in is not secure. EDIT1 : Can anyone please tell me why java installation is not secure, and should I install it or not. ...
2
votes
2answers
4k 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 ...
0
votes
1answer
1k views

How do I enable Java to do JNLP in Safari?

We use the Java Network Launch Protocol to load up our applications at work, but it's failing for our Mac users now. I VNC'd into my test Mac to give it a test, and it appears that nothing happens at ...
3
votes
1answer
972 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
2k views

Disable Java Auto Update Prompt for 1.7u25 on Mountain Lion

I'm having a heck of a time trying to disable the option "Check for updates Automatically" I ran composer to see what plist was being modified and it looks like ...
-1
votes
1answer
119 views

Amount of 'free ram memory', does that mean I should upgrade?

I regularly run several Java applications. There are about 4 applications that eat up a gig of RAM each(as I see in the Activity monitor). For the rest of the OS, I guess it is using another 3 gigs. ...