Java, is a cross-platform programming language created by Sun Microsystems and is now owned by the Oracle company

learn more… | top users | synonyms

2
votes
2answers
579 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 ...
2
votes
2answers
10k views

Java Pop-Up Window

I keep getting a pop-up window that states "To view this content you must download Java Runtime Environment". I even got it while using Pages. Now supposedly one cannot get viruses on Macs ...
2
votes
2answers
9k views

Re-Enable Apple Java 6 SE from Command Line?

So, I broke Java Preferences.app. I'm on Mountain Lion. I had Java 6 SE (the Apple-distributed JDK/JRE) and Oracle's Java 7u10 preview. Trying to get a stub app to launch with Java 7, I unchecked the ...
2
votes
1answer
343 views

why isn't my environment variable visible from the command line?

I'm trying to run the james smtp server on Lion. When I do this ... sudo JAVA_HOME=/Library/Java/Home ./james-2.3.2/bin/run.sh ... it works fine. However, I'd like to make JAVA_HOME an ...
2
votes
2answers
1k views

Java applications (eg.Netbeans&Eclipse) constantly quit unexpectedly

After upgrading to Lion and installed the Java runtime for Lion, Netbeans and Eclipse became very unstable. They quit unexpectedly very frequently. I tried reinstalling Java, I tried reinstalling ...
2
votes
1answer
45 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: ...
2
votes
3answers
159 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 ...
2
votes
1answer
776 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 ...
2
votes
2answers
102 views

How does one detect if java is installed without triggering a visual prompt?

On most systems, one would just run java -version and a non-zero return code would indicate that Java is not installed. One could do this on OS X, but a nuisance-prompt comes up to ask the user if ...
2
votes
1answer
175 views

Software is corrupt that worked only months ago?

I have been trying to use the Java Decompiler, JD-GUI, on my 2007 iMac running OS X 10.9.5 for the past week, but I have been running into a road block. Only a few weeks ago, I did not have this ...
2
votes
1answer
6k 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
881 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 ...
2
votes
2answers
5k views

Can't start eclipse on a Mac OS X 10.7.2

I've been trying to start eclipse IDE on my Mac for a while, I downloaded different versions and no one works. I'm sorry if there is something I missed. Here is the log: !SESSION 2011-11-23 ...
2
votes
1answer
98 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 ...
2
votes
1answer
1k 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 ...
2
votes
1answer
67 views

Apple says I'm signing an app with old OS version, and I'm not

I'm trying to submit a Java-based app to AppStore. After having the worst headaches in my life trying to sign everything my last problem (I hope!) is this: Invalid code signature - Signatures ...
2
votes
1answer
986 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 ...
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" ...
2
votes
1answer
649 views

Mac OS X Java megazoomer: no matching architecture in universal wrapper

Whenever I try to run a Java program with a GUI through Terminal using the `java' command, I get the following error: 2012-09-17 11:37:35.287 java[2486:2617] Error loading /Library/Application ...
2
votes
1answer
1k views

How to launch jar the same way Jar Launcher does

The source of this problem is that Jar Launcher (/System/Library/CoreServices/Jar\ Launcher.app) runs the jar just perfectly (as far as I know, the Jar Launcher app is the one that runs jars which you ...
2
votes
1answer
115 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 ...
2
votes
0answers
414 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
1answer
1k views

What causes the pop-up “To view this web content, you need to install the Java Runtime Environment”

On OSX Yosemite an annoying pop-up comes up quite often saying: To view this web content, you need to install the Java Runtime Environment I know the solution is to install java; however I'm ...
2
votes
2answers
5k views

Running Eclipse Luna using Oracle Java 8 on Mavericks [closed]

I am trying to run Eclipse Luna using Oracle Java JRE 1.8.0_11 on Mac OS X 10.9.4. I have added the following line to my eclipse.ini file: -vm /Library/Internet ...
2
votes
0answers
604 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
641 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
124 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 ...
2
votes
0answers
111 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 & ...
2
votes
0answers
98 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 ...
2
votes
0answers
375 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:46am before completing. Since the program works fine when I am actively ...
2
votes
0answers
123 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 ...
2
votes
0answers
197 views

How to disable/bypass Safari outdating/blocking/disabling plugins? [duplicate]

Although I wrote the question in a general way, my example is pretty specific. Tonight, as soon as I got into a site that uses Java, Safari told me (nice alert window, though :-)) that Java should be ...
2
votes
2answers
1k views

JavaVM.framework deleted and not anymore able to install Java [closed]

/System/Library/Framework/JavaVM.framework and /System/Library/Java have been deleted from my disk. I thought of making things back to normal by running the last Apple Java update (Java for OS X Lion ...
2
votes
2answers
2k 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): ...
1
vote
4answers
425 views

Mac OS X 10.6 includes Java 6?

The default install of Mac OS X 10.6 includes Java 6, or is it still Java 5?
1
vote
2answers
2k views

Accessing Java Applets on website in iPhone 4S

Is there any way, without jailbreaking, to open java applets on websites on an iPhone? I want to open a java based online ssh service (applet) : http://www.cryptzone.com/products/agmindterm/ I will ...
1
vote
2answers
3k views

Mac OS: Some apps (mostly java) are very slow at first loading

System: Macbook Pro Duo 2.4Ghz, 4GB, Snow Leopard I first encountered this problem when running eclipse. When I first run it after every reboot or waking up, it painfully takes > 7 min to load. The ...
1
vote
3answers
8k views

Why is Java using so Much Real Memory?

Java is consistently listed as using 700MB of real memory. That is a nice chunk of change on my 4GB iMac. I don't even know that I am running a Java Application, ever. Any ideas?
1
vote
2answers
6k 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
vote
2answers
358 views

Yosemite maximization shortcut and Java applications

I'm using OSX Yosemite and I hate how windows maximization works... previously (with Mountain Lion) I was using RightZoom, in order to always maximize windows as it should be (using the whole space). ...
1
vote
1answer
3k views

Unable to locate an executable at “/usr/bin/java/bin/java”

I am having an issue with Java in my Mac (OS X 10.7.3). Previously I installed it and it was working fine. After some changes in the .bash_profile and .profile file in the course of time, I am having ...
1
vote
1answer
306 views

How to update Java JRE in Lion?

Sofware update says everything is up to date, however Java Preferences says it's running Version 6 Update 29. The Java website says there is a newer version: Version 6 Update 31 with critical ...
1
vote
2answers
484 views

Special keyboard keys

I have this applet made in java, which relies on the users keycode input. The case is that I have to press "Insert" for a function, which doesn't exist on the keyboard. Another function requires the ...
1
vote
1answer
160 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 ...
1
vote
3answers
639 views

Shell script to restart a certain process if it is not responding

I need an java application to run 24/7 on my mac. Unfortunately the JVM process sometimes gets stuck and thus the java application does not respond anymore. Is there a possebility to detect if a ...
1
vote
1answer
102 views

Automator fails. Is there a better solution?

Recently I was trying to train an Automator script to run some mundane tasks - unfortunately it stops at the first step. I clicked the "record" button on my old Mac OS 10.5 machine, opened Keychain ...
1
vote
3answers
4k views

Why can't websites access JRE in Yosemite?

Please see the attached image which shows an error/information message I am seeing regularly since upgrading to Yosemite. I don't know which website is asking for Java, as there is a different site ...
1
vote
2answers
228 views

Why does a Java based app in OS X have 2 different user interface designs?

I quote 2 images from Google. Look at the tabs. They are totally different. I have just finished migrated to OS X. I always believe that OS X provides a uniform user interface to make their apps ...
1
vote
1answer
195 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 ...