Questions tagged [java]

Java is a cross-platform programming language created by Sun Microsystems and is now owned by Oracle. Do not confuse this tag with JavaScript or JScript. Questions about installing/running Java on macOS are welcome, questions about Java programming must be asked on StackOverflow.

57 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
1answer
141 views

My IDE runs tests slower when in a different workspace

I am developing a server-side application using Java and OSX and quite often I have to run a rather large test suite to make sure everything is alright. I am using IntelliJ IDEA (Java-based IDE). ...
3
votes
0answers
265 views

El Capitan, Java application “can't be opened”

OK, this is really weird. I'm on El Capitan, am developing a Java app. Yesterday I made a new release and put it in Applications on my machine, right where the previous version used to be. Went to ...
3
votes
0answers
771 views

How does /usr/bin/java work on Mac?

I found /usr/bin/java linked to /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java. And its file content is different from /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/...
3
votes
0answers
52 views

How to prevent “install java” popups

When I browse certain websites in Safari, I am frequently met with popups with instructions on how to install Java. But I don't want to install Java, especially not the plugin. How do I tell Safari to ...
3
votes
0answers
127 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 & ...
3
votes
0answers
163 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 ...
3
votes
0answers
763 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 ...
3
votes
0answers
2k views

IBM JRE on Mac?

For some uses such as communicating with Weblogic or WebSphere application servers from Windows or Unix, I have to use the IBM JRE. Does such thing exist on Mac? and/or how can I do that (except for ...
3
votes
1answer
613 views

Did the most recent Mac OSX security update version 2016-001 (10.11.6) break java jnotify?

I installed the security update 20016-001 for Mac OSx 10.11.6 this morning and now my use of sbt (0.13.8) with scala (2.11.8) and playframework (2.3.9) is giving the traceback below. I'm guessing ...
3
votes
2answers
3k 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): I'...
2
votes
0answers
26 views

Set java version for one specific application

I have multiple Java Versions installed and want to run a packaged application (JabRef) with a specific version at /Library/Java/JavaVirtualMachines/zulu-8.jdk which is not JAVA_HOME. If I would run ...
2
votes
0answers
47 views

Allow Java 1.7 app to run without “Install Legacy Java SE 6” message showing up and JRE not JDK

I am tasked with deploying an old Eclipse RCP (Java 1.6) application with minimal or no changes to the code on macOS Mojave 10.14 64bit. The application hasn't been deployed in a long while, the last ...
2
votes
0answers
1k views

How to change current JRE on mac?

I would like to change the current JRE from Version 10.0.1 to some previous versions like 1.8 for instance. At the moment Im confused about my current setting. Basically, Java Panel in System ...
2
votes
0answers
233 views

Setting up Wireless on a Brother HL-2270dw on High Sierra

Any ideas on how to set up wireless printing on a HL-2270dw for someone running 10.13.x (High Sierra)? Most of the Brother instructions require 10.11 or 10.12. The SetupWizard Java App crashes on 10....
2
votes
0answers
160 views

Can I turn off memory compression for one specific app?

I am using MATLAB on my Mac. Well, MATLAB is running well but not fast -- while there are plenty of free memory, my Mac still compresses MATLAB's memory - from ~2GB to ~600MB -- not to mention the ...
2
votes
0answers
162 views

Problem with installing Java

I just downloaded the latest Java SE Development Kit and tried to install it. The installer opens but then after clicking on install nothing happens. I know this is not very specific (not good with ...
2
votes
0answers
684 views

Couldn't open any java .jar application file after installing OS X Capitan

I couldn't open any java .jar application file after installing OS X El Capitan. The only message after opening always is: Java-Jar-File "ABC.jar" couldn't be opened. I installed both jdk1.8.0_65.jdk ...
2
votes
0answers
772 views

Java update fails every time

Every time I install Java updates, I get the following error after the download completes: Update Error! An error occurred while downloading the update. Please try again later. How can I fix ...
2
votes
0answers
1k views

Retina display problem - GUI Java applications display fix

On my MacBook with retina when I open Java GUI applications with Oracle Java Se 7 (JEdit, Eclipse) I encountered the same display issue (font antialiasing an overal GUI with very bad resolution). $ /...
2
votes
0answers
747 views

How to get rid of stale Java icons from application switcher & dock?

I recently started seeing "java" processes with the default Java icon sometimes stay in the switcher/dock after Java Web Start applications are closed (OS X 10.9.5 Mavericks). This may have begun with ...
2
votes
0answers
801 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 ...
2
votes
0answers
730 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 ...
2
votes
0answers
164 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 it ...
2
votes
0answers
426 views

How to install Java 6 on Mac OSX 10.75

I am no longer finding Java 6 on my Mac. I suspect when I upgraded to OSX 7.5 it upgraded my Java. I am running an open source project that must be in Java 6. I can only find Java 6 for OSX 6 Is ...
2
votes
0answers
2k views

Did my OSX 10.8.2 computer crash or go to sleep due to inactivity?

I left a Java program AppMain running on my Retina MBP overnight and in the morning it looked like the program died at around 12:46 am before completing. Since the program works fine when I am ...
2
votes
0answers
126 views

Figure out which app is using Java

If I check my activity monitor there is an instance of java that is constantly taking 5% CPU or more. I know that there is some app that are using java on my system and therefore my question is: Is ...
1
vote
0answers
36 views

Getting the Java jar file could not be launched even though it runs normally from terminal, any help?

I exported my Java project but when i try to double-click on it and open it normally I get that it could not be launched and I should check my console for possible error, found nothing there. Tried ...
1
vote
0answers
33 views

Java update failed

Just realized that java on my mini 2012 is 1.6.0_65-b14-468. Therefore I searched for anything newer compatible with JDownloader. Therefore I downloaded 1.8 (jre-8u201-macosx-x64). Apparently the ...
1
vote
0answers
60 views

How can a I run a bundled app with Java 11?

I followed the answer to this question to get a bundled app to work with Java 8... How to direct an app to use a specific Java version? I would like to know if I can get it to run with the latest ...
1
vote
0answers
58 views

Accessing specific version of Java in Safari

I am using Safari 12 running on macOS Mojave 10.14. The Web based VM detects the installed version of Java on my Mac as 1.5. For my particular needs version 1.6 is required. I have installed the ...
1
vote
0answers
337 views

OS X stopped opening .jar files through Finder

Yosemite 10.10.5 I have a .jar file that I was able to execute by double-clicking it in Finder. Today, if I try that, it won't open. Sometimes something will appear briefly on screen but disappear ...
1
vote
0answers
890 views

Got a Java process with about 4 GB memory consumption after just starting up macOS

I recently found there is a Java process with more than 4 GB memory in my MBP, and it respawned after I force quit it. After restarting the computer and entering safe mode, the process does not ...
1
vote
0answers
103 views

How to get rid of “Java was recently installed” message every time I start Safari?

Recently, every time I start Safari, I get a popup: "Java was recently installed. To improve security and save energy, Safari did not activate Java after it was installed." I already got the message. ...
1
vote
0answers
189 views

Integrative Genome Browser can't find Java Runtime

Every time I try to run IGV, I'm greeted with can't find Java Runtime error dialog. I have Java installed on the system as running /usr/libexec/java_home returns /Library/Java/JavaVirtualMachines/jdk1....
1
vote
0answers
317 views

Low CPU usage when performing big task in java

I recently got mac mini and I'm new to OS X so maybe this is a trivial question. I'm developing web application in java using Spring. I have another project to run IT tests which sets up the API and ...
1
vote
0answers
269 views

Troubleshooting Java GUI app that stopped working

I have a Java app that I use on a regular basis that has stopped launching. The application is a Java program with a Mac GUI tied to it. I suspect that with a recent upgrade of Java on the Mac ...
1
vote
0answers
863 views

Mac preventing loading Java site

I am trying to administer my Western Digital MyBookLife home network drive, using the Java based admin console provided by WD. The console is a web application served up from the drive itself. ...
1
vote
0answers
606 views

how to install a java 1.6 jdk on my maverick mac

I have jsd 1.7 on my machine and I want to install 1.6 as well I couldn't find a way to do so. Anybody know?
1
vote
0answers
1k 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 ...
1
vote
0answers
65 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
0answers
213 views

How to open a jar by default?

I had a question "How do I run a jar when double-click it?" But now I know that my computer is not set to open jars by default. Is there a settings in the mac that open jars by default? All the jars ...
1
vote
0answers
146 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?
1
vote
0answers
770 views

OS X Lion Safari, Chrome and Firefox crashing while trying to access caixa.gov.br account

For months I'm having problems accessing this link https://internetbanking.caixa.gov.br/SIIBC/index.processa from caixa.gov.br It only works when I use Opera, but it fails on Chrome, Safari and ...
1
vote
1answer
229 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
0answers
70 views

Fix Application launcher from Java 1.6 Legacy to Oracle Java 7

I'm using a Mac Pro 64bit Mojave. Is it possible to create a .command or .sh or some other low-effort "launcher" for a Java program where all of the compiled code is in the "plugins" dir that does ...
0
votes
0answers
89 views

Apache Netbeans 10 binaries not working

I have recently downloaded the Apache Netbeans 10 binaries from the Apache Netbeans (Incubating) site. I extracted the zip file to /Application/netbeans/. But when I try to run /Application/netbeans/...
0
votes
0answers
63 views

Install Jira: issue with java JDK

I am trying to install Jira which requires java JDK. I installed the latest Java JDK and it says it was successfully installed. However I get an error: Unable to locate an executable at “/usr/bin/...
0
votes
0answers
48 views

How do I get javaws to recognize and use alternate JREs that I have installed?

I have multiple JDKs installed. For one particular JNLP I need to make sure it is run with some older JRE. The Java Control Panel only recognises the latest version. How do I make it see the others ...
0
votes
0answers
37 views

Configuring application servers to run as service daemons?

Mac 10.9.5 here. I am trying to figure out how to configured my machine to run an executable (Java) app as a service/daemon, so that it is always running so long as the machine is on. Hence, this app ...
0
votes
0answers
878 views

Wineskin - Problem with launching java programs

I am trying to launch a Java program that needs JRE 8. I tried installing it onto my wrapper with the installer, but it showed a message in the style of "Oops, no new executables found, maybe the ...