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.

Filter by
Sorted by
Tagged with
1
vote
1answer
181 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
900 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
559 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
1k 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
809 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
118 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
550 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
699 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
234 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
75 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
958 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
87 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
691 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
667 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
404 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
955 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
9k 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
924 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
680 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
175 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
3k 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
470 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
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). $ /...
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
184 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 ...
0
votes
1answer
101 views

Java update not working? [duplicate]

well I have java 8 45 and when I go into terminal and do java -version it says this "java version "1.6.0_65" Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716) Java HotSpot(TM) 64-Bit ...
0
votes
0answers
267 views

Upgraded to 10.10.4 (from 10.8.5), now JNLPs don't open in finder?

I've finally upgraded from 10.8.5 to 10.10.4. But now double clicking on a JNLP file in finder no longer downloads and runs the (in the JNLP file defined) jars but takes me to the Oracle Java download ...
4
votes
2answers
19k views

Uninstalling Java 6 to replace with Java 8 [duplicate]

Every single time I try to install the Oracle Java Runtime Environment... I keep being stuck with Apple's Java 6. I have no idea how Apple's Java 6 ended up on my computer in the first place. I keep ...
4
votes
4answers
9k views

How to create a .app folder from an executable .jar?

Just this. I have an executable jar that I'd like to create a .app folder for. Mainly just because I'd like it to be pinnable to the dock. Is there any easy way to do this? Edit: Really what I'm ...
1
vote
1answer
771 views

How to install, specific version of Java by command line on Mac? It's Possible?

It's possible to install an old version of Java by command line in Mac, it's possible? I am trying install java 1.6.0.17, but i can't find this version for Mac OS. I think it's possible to intall it ...
1
vote
1answer
603 views

Why is it that my MacBook Pro Retina's resolution is detected as different based on the application?

The actual advertized resolution is 2880 x 1800. Taking a fullscreen, screenshot gives me an image that is 2880 x 1800. Going to this site tells me my resolution is 1440 x 900. The built in Digital ...
0
votes
1answer
2k views

setting JAVA correctly on MAC

I am new to mac (coming from the windows world). I did some reading on how and where JAVA HOME is set on a mac machine. I have some assumptions listed below, would be great if someone could go through ...
5
votes
1answer
10k views

How to properly install Java in OS X

When I look at System Preferences > Java > Update, I see Your system has the recommended version of Java. Java 7 Update 79 From Terminal, java -version: java version "1.7.0_71" Java(TM) SE ...
4
votes
2answers
4k views

How to install LP_solve solver on Yosemite?

I want to install java based "lp_solve" LP solver on my MacBook Air, OS X Yosemite. I tried to follow the instructions given here. But when I run sh ccc.osx, it is not creating the liblpsolve55.dylib ...
0
votes
1answer
453 views

Mac OS X Yosemite Java 1.6 Downgrade to 1.6u35

I installed the latest version of Java 1.6 provided by Apple and didn't realize that the application I have to do development for must use 1.6 update 35. Is there anyway I can uninstall the latest ...
0
votes
2answers
76 views

What sets my Java Virtual Machine?

I'm not understanding how my Java environment is getting set up. If I have multiple versions of Java installed how does the correct version get selected when I start a Java dependent application? I ...
2
votes
2answers
3k views

Oracle's Java 1.8 appears to not actually install itself

I have searched for answers this problem, but nobody seems to have such a basic problem as I have. I have Java 1.7 installed and tried to install 1.8 - both through the Java control panel and manually ...
2
votes
1answer
4k views

Java 8u45 installation unable to locate a Java runtime to invoke

I've downloaded and installed Java JDK 8u45 for OS X 10.10.1 and after the installation has completed (successfully), java -version produces the following: Unable to locate a Java Runtime to invoke....
10
votes
3answers
33k views

Is there a Java IDE for iPad which can compile and run Java locally?

I'm about to have a coding session with some buddies. Problem is, one doesn't have a laptop. He's pretty new to programming so I was going to set him up something either on a rickety laptop or my iPad ...
0
votes
1answer
150 views

How do you control the security of Firefox browser in Yosemite to run educational Java app?

I am trying to run the following Java applet in the following web page: http://artint.info/demos/rl/q.html However, Firefox is blocking it due to a security issue. Not sure if it's an Apple issue ...
1
vote
1answer
5k views

How to find rt.jar file?

My virus scanner (Sophos) showed that it was scanning a file named rt.jar plus several other .jar files. I was a little bit surprised because I didn't think that Java was installed. Yet, when I ...
2
votes
1answer
871 views

Java update via Control Panel error

Was trying to run the Java update earlier. But it couldn't launch the installer after downloading. Here's the log: 21/4/15 12:35:58.498 am Java Updater[814]: Original euid:501 21/4/15 12:35:58.500 am ...
6
votes
2answers
13k views

Where else can I download the legacy Java SE 6 runtime?

I just upgraded to OSX Yosemite. I am trying to open my Adobe Flash CS6 app, but it says To open "Flash" you need to install the legacy Java SE 6 runtime. A simple google search yields this page: ...
2
votes
1answer
2k views

Open Java .app application bundles with double click on a Mac without Apple's Java 6

In short: On a mac with a clean installation of Yosemite, doubleclicking a compiled Java mac-style .app application bundle fails to launch the app, unless Apple's Java 6 is installed, even if the ...
1
vote
2answers
1k views

Why I have 3 different Java versions on my Mac?

today I was looking after my Java Version and I got very confused. I found three different ones: If I look in Webstorm it uses: 1.6.0_65 If I make java -version I get: 1.7.0_45 If I look in the ...

1 2 3
4
5
9