Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
0answers
27 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 ...
4
votes
2answers
3k views

How can I install java openjdk 8 on High Sierra

How do I install OpenJDK 8 on High Sierra? It looks like support for the Java Oracle JDK version 8 will be deprecated after January 2019 Java SE Overview Additionally, it looks like publishing and ...
0
votes
1answer
233 views

how to get JDK 7 for Mac OS High Sierra

In order to run some tools for a project I'm working on, I need to install specifically JDK 7. I already have JDK 8 up and running. I searched in Oracle and open-jdk web sites but seems to be ...
4
votes
1answer
84 views

Upgrading from OS X El Capitan to macOS High Sierra

I'm in the process of planning an upgrade from OS X El Capitan to macOS High Sierra, and I'm using things like Homebrew, Composer, Elasticsearch, and — by extension — Java. I'm using MAMP Pro with ...
5
votes
1answer
56 views

Is it safe to install a deprecated Java version?

I have an old version of Photoshop that requires an outdated Java runtime. "More info" takes me to this Apple support page where you can download the older JRE. Seems reasonable enough, but I am ...
1
vote
1answer
77 views

Can't update to Java SE 8u181 from 8u171 on El Capitan [duplicate]

as part of my update routine, I wanted to upgrade from the installed Java SE 8u171 to Java SE 8u181. Before anyone asks, yes, one software DOES need Java (LibreOffice). Problem is, the install ...
-1
votes
1answer
57 views

How do I get a standalone (no install necessary) JDK 8 for Java coding on Mac?

I am using a public computer and I want to do some Java coding on it*. I was able to download IntelliJ and I was able to copy it to my desktop and run it (see here), but I was not able to install the ...
0
votes
0answers
113 views

“Reopen the Java Control Panel” doesn't do anything

From System Preferences, I open the Java icon and it shows: And that's all. The "Reopen the Java Control Panel" button doesn't do anything. There isn't any separate window anywhere. macOS High ...
1
vote
2answers
986 views

What is the latest version of Java for macOS High Sierra?

On my High Sierra Mac java --version gives java version "1.8.0_172" Java(TM) SE Runtime Environment (build 1.8.0_172-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.172-b11, mixed mode) but in ...
4
votes
1answer
345 views

How does macOS store Unix file permissions in ZIP files

I am trying to extract a ZIP file in Java which was created on a Mac using the built-in archive functionality of the Finder. As the ZIP file contains an application bundle, it is important to retain ...
1
vote
1answer
74 views

What is “~/.asdasd/asda.jar”?

I found a curious little .plist in my LaunchAgents, and I'm worried it could be a rootkit or other backdoor. Here are its contents: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist ...
1
vote
0answers
45 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 ...
2
votes
0answers
444 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 ...
0
votes
0answers
11 views

How to direct Java 6 to Vectorworks app?

I really need help with this one. My mac updated to the latest version of Java and now my Vectorworks is not working correcly anymore! I thought that there must be a way to connect an older Java ...
1
vote
0answers
36 views

Action Keystroke GUI For Mac OS X [duplicate]

EDIT: This post was edited due to the automated "Title" keyword matching function of this site that caused some confusion for us humans with the word "AutoHotKey"
15
votes
4answers
28k views

How to remove Java 10? Or revert to the previous version?

The Java updater on my Mac installed an obscure version of Java 10.0.1 which I never heard before. The result is that ALL my java apps are not running anymore, which makes Java pointless. The ...
2
votes
1answer
365 views

Unable to execute JAR file

I wrote a small Java desktop application using NetBeans, Java 8 and JavaFX 8 on my MacBook running macOS High Sierra. I can launch it from Terminal by executing a Bash script (mentioned below), but ...
2
votes
0answers
14 views

How to call an external window-app in Scala (or Java) and WAIT for it to be closed? [closed]

I use macOS and, from Scala, I like to call the default text editor on text files. I want the user to be able to edit/modify the file, and be called back / notified in any form when this editing is ...
1
vote
1answer
209 views

“Installing” MySQL JDBC .jar file for MATLAB

Goal: "install" JDBC drivers for MATLAB to use This article indicated that one can put the JDBC driver .jar file in: /Library/Java/Extensions/ .bashrc and .bashrc_profile were configured with ...
1
vote
1answer
54 views

How to install JRE in a way usable for dev?

I have Java 8 installed by an admin /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/bin /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre/bin I needed to install ...
1
vote
1answer
82 views

I found but can't open eclipse.ini (bad parsing)

I know the trick with "show package contents" and I've gone to: $ECLIPSE_HOME/Eclipse.app/Contents/MacOS However, the file in there is 'eclipse', rather than 'eclipse.ini' Furthermore, when I open ...
2
votes
0answers
156 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....
4
votes
1answer
54 views

How do I create an installer for a macOS app?

I want to create an installer for a Apache Mesos for Mac. I don't want to use brew since that needs several steps and an internet connection and packaging makes one definite version we can push and ...
1
vote
1answer
468 views

Managing multiple Java Installations

After hours of Googling I'm a little depressed with the results.. For work, I have multiple Java Installations, some of them via SdkMan, and some of them seem to found there way into the /Library/...
0
votes
1answer
520 views

How do I change what's returned by /usr/libexec/java_home

$ echo $JAVA_HOME /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home $ /usr/libexec/java_home --verbose Matching Java Virtual Machines (2): 1.6.0_65-b14-468, x86_64: "Java SE 6" /...
0
votes
0answers
34 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/...
1
vote
0answers
13 views

How can I make a .jar show up in Recent Items when I have just run it?

I have Tight VNC jviewer in my applications folder. It is a Java application. I want it to show up in the Recent Items > Applications when I run it. How do I do this? As a side note, it also doesn'...
0
votes
0answers
165 views

Is there a CoreBuetooth Framework for Mac OS X 10.5.8?

Is there a CoreBuetooth Framework for Mac OS X 10.5.8? I have some problems with missing Frameworks. I need a framework for CoreBluetooth. I might also need instructions on how to import such ...
0
votes
1answer
214 views

Setting JAVA_HOME not working in Sierra

I have following versions of Java: $ /usr/libexec/java_home -V Matching Java Virtual Machines (4): 9.0.1, x86_64: "Java SE 9.0.1" /Library/Java/JavaVirtualMachines/jdk-9.0.1.jdk/Contents/Home ...
1
vote
0answers
197 views

MacOS dock freezes when I launch Java application

I have a late-2016 MacBook Pro (without Touchbar) - MacOS High Sierra 10.13.2 - Java 9 Since one or two weeks, when I launch a Java application (NetBeans, a JavaFX app, Eclipse... etc) my MacOS docks ...
1
vote
0answers
400 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 ...
0
votes
0answers
12 views

cannot use adobe . errormessage says to install java- but I have! [duplicate]

Every time I start my computer a popup window shows up that says "If you want to open CS5ServiceManager you have to install the legacy Java SE 6 Runtime" Why does this show up, and how do I resolve ...
0
votes
0answers
376 views

Can't open jar java file because it's from an unidentified developer?

I am running macOS 10.13.2 and I am trying to open a jar file for java. I have tried left clicking to open the file and I have also tried to change the security preferences to Always open but it still ...
1
vote
2answers
2k views

CS5ServiceManager Java error shows up at startup of Mac

Every time I start my computer a popup window shows up that says "If you want to open CS5ServiceManager you have to install the older Java SE 6 Runtime" Why does this show up, and how do I resolve ...
1
vote
2answers
51 views

No compatible version of java 1.5 is available

First thanks for reading my post and willing to help. I'm trying to run a program (MultiWiiConf 2.4, last version now) on my Mac (Sierra 10.12.6) but it won't launch and error No compatible version ...
3
votes
1answer
36 views

Why do I keep getting a request to install JDK on mid 2015 MacBook Pro

After updating to OS 10.13.1 I got messages to update JDK, I have gone to the website, downloaded then installed the update. I then have the website run a check to see if I have the latest update. ...
0
votes
0answers
85 views

Icon bounces in dock without (fully) launching

I cannot launch several apps There are several apps that when I click on them, they bounce in the dock for a while but neither fully run nor quit. One example is KDS_v3, another example is the Java ...
1
vote
0answers
96 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. ...
2
votes
0answers
119 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 ...
1
vote
1answer
986 views

Jar Launcher.app : where is it supposed to be located at?

On Sierra I installed Java (JDK) and Parallels Desktop. The Windows VM I have in Parallels has decided to set its own (Windows) copy of Java as default for Mac .jar files, which means that whenever I ...
4
votes
2answers
77 views

How do I launch an application with a specific JDK?

I'm on Sierra, and I have one legacy application that requests Java 6 to run. I have Java 7 installed, and I've also installed Java SE 6 from Apple, but I'm not sure how to force the application to ...
2
votes
0answers
120 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 ...
1
vote
0answers
152 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
1answer
75 views

Java applet for OS X 10.9 (Mavericks)

I was trying to run a Java applet (downloaded) through the jnlp file which came with it. And I see this error always. I looked into the code signing certificate, and its signed from a trusted CA, and ...
5
votes
3answers
1k views

Cannot install JDK 7 on macOS Sierra 10.12.6

I tried to install JDK 7u67 on my MacBook Pro with macOS Sierra 10.12.6, but all I get is this error message: It does not really makes sense for me, because I already have higher version, so Java ...
0
votes
3answers
2k views

How can I check if Java is installed on my Mac?

I have gone into Terminal and typed java -v for which it responds with No Java runtime present, requesting install. But I am not sure if that is confirming if Java is not installed or whether ...
3
votes
0answers
192 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 ...
0
votes
1answer
6k views

Unable to locate an executable at “/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin/apt” (-1)?

this error comes when i use this command:- sudo apt install wireless-tools Unable to locate an executable at "/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin/apt" (-1) echo ...
2
votes
3answers
5k views

Is MacBook Air 2017 used for programming viz Java or Python and also for Web development? [closed]

I'm planning to buy a MacBook Air 2017 8 GB RAM with 256 GB SSD. The reason I'm going with a MacBook Air is primarily for portability and Battery life, since I see that it gives at least 10 hours. Is ...
0
votes
1answer
227 views

When launching java app as Mac app there default java process name and About description instead of mine

I have a number of jar-files, some resources, h2 database, etc. in my project. To create Mac application I used Platypus. To run my application shell script was used. However at this case when ...