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.

Filter by
Sorted by
Tagged with
0
votes
0answers
44 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
1answer
38 views

OSX service with custom user does not write Java Preferences

This is the setup: OSX Yosemite Java based service that is being started using a LaunchDaemon The service is started with a custom user that is being created during installation The user has a custom ...
3
votes
1answer
588 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 ...
0
votes
2answers
3k views

Core dumps have been disabled. To enable core dumping, try “ulimit -c unlimited” before starting Java again

When I play Minecraft, usually on servers, my game constantly crashes, and the reason for this is: 'Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting ...
2
votes
2answers
3k views

Java application won't force quit, prevents shutdown

I think there might be an issue on El Capitan with Java applications force quitting, because I've seen multiple people talk about similar problems to this with no actual solutions presented. I've ...
0
votes
1answer
716 views

How can I figure out what's opening a Terminal window whenever I log in?

Whenever I log in to my Macbook, a terminal window pops up with what appears to be some Java CLI help text and a [Process completed] (or whatever) at the bottom. It doesn't cause any problems that I ...
0
votes
0answers
34 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
1answer
6k views

How to forcefully open a blocked Java Applet?

I downloaded from Internet (topcoder.com) a Java applet. When I try to open it, it says "Application blocked for security reasons" because "The certificate has expired". I really want to launch it... ...
0
votes
1answer
503 views

Exception in thread “main” java.lang.UnsupportedClassVersionError (Trying run Alda on OS X)

I've hit a wall with trying to get Alda to run on OS X. It's an executable I downloaded from here; then, as per the installation guide on GitHub, I ran chmod +x alda on it, and then moved it to my /...
0
votes
1answer
1k views

Mac App SQLDeveloper stuck in Dock after application closed, Process killed

I just started experiencing a bug where the SQLDeveloper 4.1.3 (latest) app icon freezes in the mac OS dock. This prevents me from relaunching the app without a hard reboot of the computer. ...
1
vote
2answers
6k views

How to uninstall Java SE 6 on OS X 10.11?

I found an old copy of Adobe CS4 that I had tucked away. I decided to install on my 2014 MBP as I was interested in running Illustrator for some vector images I was wanting to use. It required that I ...
1
vote
1answer
862 views

MEvent. Case! on Matlab running on Mac

When I try to two-finger scroll in a matlab window, I get the error MEvent.Case! The proposed solution (as posted on the Matlab forum) seems to work just fine for Matlab running on Linux !synclient ...
0
votes
0answers
19 views

How do I disable the Java updater on OS X? [duplicate]

I've disabled automatic checking for Java updates the Java Control Panel, but my changes are always ignored, as I can confirm by checking the control panel after making and saving my changes: How do ...
1
vote
2answers
831 views

If I install an older, deprecated Java runtime, will that mess up applications that use the current Java version?

I own a really old version of Photoshop. After I upgraded to El Capitan when I attempt to launch Photoshop I get a dialog saying... To open "Adobe Photoshop CS5.1.app" you need to install the ...
5
votes
1answer
139 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). ...
1
vote
1answer
640 views

How can I automate taking screenshots of 10,000+ pages?

I am using mac OS X El Capitan and need to find a way to automate taking screenshots of 10,000 or more pages. The problem with all current solutions is that the webpage requires me to login using my ...
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 ...
2
votes
1answer
556 views

/usr/local/bin/ not found by Automator and Java but exists in Terminal [duplicate]

Automator Shell Script echo $PATH eval /usr/libexec/path_helper -s echo $PATH Results: after the first echo $PATH: /usr/bin:/bin:/usr/sbin:/sbin after the second echo $PATH: /usr/local/bin:/usr/...
1
vote
1answer
2k views

Java 100 % CPU usage

I am using IntelliJ IDEA compiler for Java programming on my MacBook Pro 2015 Retina (Yosemite). When I run some Java program in my activity monitor appears Java process and takes 100+% of CPU. The ...
2
votes
3answers
680 views

What’s the Java Shebang for OS X?

I just started using TextWrangler in place of Eclipse for writing Java programs. I found a script for testing Java programs in Terminal, but I’d like to handle everything right through TextWrangler. ...
1
vote
1answer
179 views

Java 8, Update 73 not installing

I'm following the procedure on Oracle's website to install Java 8, update 73. When I get to step 5 in the procedure and click "Next," the installer window quietly shuts down without and without an ...
2
votes
1answer
736 views

Why does JDownloader use 9666/tcp on localhost?

I found 9666/tcp to listen on 127.0.0.1 on OS X. I use version 15.3.0 > nmap -sT 127.0.0.1 ...
0
votes
1answer
1k views

Running a 32 bit version of java? [duplicate]

I was recently was trying to use a library that needed a 32-bit version of java. I tried to get my version of java to use the 32-bit version by using the flag -d32. However, I received the error: ...
0
votes
2answers
3k views

I can't run Eclipse on Macbook on Yosemite: “Version 1.6.0_65 of the JVM is not suitable for this product.” and I have Java 1.8 (shows in settings)

I can't run Eclipse on Macbook on Yosemite: "Version 1.6.0_65 of the JVM is not suitable for this product." and I have Java 1.8. When I open settings I can see that version of Java is 1.8
1
vote
1answer
509 views

Can I programmatically install a specific version of JDK (i.e. using command-line tools only) on OS X?

I know you can apt-get JDK on Ubuntu. Is there anything similar on OS X? It looks like Oracle requires you accept a license agreement on http://www.oracle.com/technetwork/java/javase/downloads/jdk7-...
1
vote
1answer
913 views

Intellij KeyMapping is acting weird

I am new to mac so apologies if i am asking a stupid question. I just installed Intellij idea on Mac OS El Capitan and it is acting weird. This issue is only in Intellij so i am assuming that perhaps ...
3
votes
3answers
761 views

Not able to install Netbeans IDE (PHP bundle) on OS X El Capitan

I am trying to install Netbeans IDE (PHP bundle) on OS X El Capitan. I am getting following error NetBeans IDE cannot be installed. This software can be installed with Java 7 update 10 or newer. ...
0
votes
2answers
107 views

Is it possible to set the JAVA_HOME env in El Captitan?

I am unable to set the JAVA_HOME environment variable osx. I added the following line to my .bash_profile export JAVA_HOME=`/usr/libexec/java_home` and sourced it afterwards; yet when I printenv or ...
0
votes
2answers
503 views

What is the content of the $CLASSPATH variable in El Capitan?

I installed OS X El Capitan and, along with it, Oracle's Java 8 SDK. I've already verified that, using java -version, java is correctly installed. I need to add some user classes to the file path, but,...
1
vote
1answer
5k views

Can't uninstall Java under El Capitan

Since installing El Capitan, I am not able to run Adobe Photoshop or Dreamweaver (old versions). I get the message "You need to install the legacy Java SE runtime" I am trying to uninstall Java and ...
3
votes
1answer
548 views

Signing an App that includes Java fails

I try to sign an app-bundle that includes the Java Runtime Environment 8 (JRE). From command line I run this command: codesign -s "Developer ID Application: My Company" /Development/MyApp.app I get ...
0
votes
1answer
221 views

How can I prevent OSX upgrade messing up my apache ant install

I'm a developer that uses Apache Ant as part of my build environment, but every time I upgrade my Mac to a new version of the OS (such as Yosemite to El Capitan) it breaks the ant install it there a ...
2
votes
1answer
73 views

Why do my versions of Java differ?

If I brew --config, I see #... Java: 1.8.0_60 which is what my my OS X Java Control Panel reported until I recently updated. Now the control panel reports the new version Java 8 Update 65 but ...
2
votes
1answer
847 views

Why does Eclipse launch so slowly on Mac OS X?

I noticed sometime after updating to Yosemite that Eclipse now launches very slowly. It takes 30 seconds to a minute to get to the startup splash screen, and after that it spends a minute or two ...
0
votes
1answer
85 views

Iphone 4S jailbroken stucked in respring logo [duplicate]

I wanted to free some space on my Iphone 4S and I deleted the fonts folder from system. When I want to restore .ipsw with the iTunes gave me the error 3194 with internet, and 3004 without internet ...
2
votes
0answers
680 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 ...
1
vote
1answer
601 views

Disable auto-update of Google Chrome with Firewall?

I need to keep using an older version of Chrome to access an old work VPN which requires Java applets and for some reason crashes after several minutes when launched from Safari. The latest versions ...
1
vote
1answer
400 views

IntelliJ Scala does not work anymore after El Capitan upgrade

After I have updated to El Capitan I am having problems in running a Scala project with IntelliJ. When I run it I obtain the following error: Error:Cannot run program "/System/Library/Frameworks/...
2
votes
0answers
744 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 ...
3
votes
3answers
8k views

How to direct an app to use a specific Java version?

I got an Java application that does run under Java 1.8 without problems when I start its JAR directly. However on my Mac the JAR is wrapped within an app that demands me to install Java 1.6 -- which I ...
0
votes
0answers
855 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 ...
3
votes
2answers
594 views

If I sign a JAR with a certificate from Comodo, will I still get warnings?

I have written a piece of software in Java that I would like to sell, however it is currently unsigned. When I first wrote the software it didn't matter too much, but I think OS X has upgraded since ...
0
votes
0answers
165 views

Installing octave-java from macports

I need octave-java installed. I tried using macports, but evidently I'm missing something here. I am running Yosemite. I already have octave installed, so I tried to install octave-java . . . $sudo ...
0
votes
2answers
2k views

Can the Java SDK pop-up be disabled entirely?

Whenever an application attempts to use, or even check to see if Java is installed, a pop-up is generated that steals focus and tells you all about how to install the latest JDK. This is perhaps ...
0
votes
1answer
460 views

Can't enable Java for browser

For some reason, whenever I try to enable Java in the browser by clicking on the checkbox "Enable Java content in browser" in the Security tab of the Java control panel, it asks for my password and ...
-1
votes
1answer
3k views

El Capitan, Eclipse does not work

I had latest version of eclipse and JAVA on new OS X. Eclipse does not respond nor works. Any inputs to fix will be of great help.
2
votes
0answers
979 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). $ /...
6
votes
4answers
12k views

Java and El Capitan

I have installed El Capitan on my Mac, and whenever the mac boots, this screen appears. Note that this window appears many times while using the mac. Also, I have installed the latest java ...
6
votes
2answers
4k views

How to update Java from 8 Update 31 to 8 Update 51 when install fails?

I'm trying to update Java on my Mac OSX Yosemite. In the Java Control Panel, it states: A critical Java security update is available. 8 Update 51 (57 MB) Your current version is Java 8 Update 31. ...
1
vote
2answers
145 views

Minecraft Immediately Crashes On Launchup

I'm running Mavericks 10.9.5. This is my java version: Whenever I started Minecraft up, it would immediately crash. I tried: Reinstalling Minecraft Deleting the minecraft folder in Application ...