Widely-used object-oriented programming language, emphasizing portability.

learn more… | top users | synonyms

5
votes
1answer
1k views

Suppressing the “Picked up _JAVA_OPTIONS” message

I'm using _JAVA_OPTIONS to set some defaults for Java on RHEL. It works fine but now every time I start java I get the following message Picked up _JAVA_OPTIONS: -foo -bar -baz is it possible to ...
5
votes
3answers
14k views

Will Window RT have a JVM?

Java is supposed to be a way to write portable programs, and one person we work with wrote some of our buisness applications in Java. Doing some prelimiary compatibility checking and it seems that ...
5
votes
1answer
2k views

Are there any credit cards that run Java? [closed]

When installing Java I noticed credit cards listed among the devices that run Java. Is this true? How do they work?
5
votes
1answer
10k views

Running Java 32bit and 64bit on same computer

I ran into a rather puzzling problem, trying to install Vuze 4.2.0.2 on my Windows 7. I have a Java 6 JDK 64bit, but Vuze complains that it can't find a correct 32bit JRE. Yet, as far as I know it ...
5
votes
3answers
1k views

java.exe -version and pushd?

I have noticed that when I run the following command Pushd \\RemoteMachine\C$ && java.exe -version I get the java version of the computer I am on. However when I run the pushd command with ...
5
votes
4answers
7k views

Problem with remoted display of java applications

I'm trying to remote display Java based development environments, such as NetBeans and IntelliJ, from a linux machine to a windows machine. When I do this, the right click functionality of the ...
5
votes
3answers
495 views

jEdit slow on Linux

Jedit is a great text editor, and I love that it is truly cross-platform. I usually use it on windows and just recently spent a long while working on some stuff on my linux box and noticed a large ...
5
votes
1answer
1k views

Firefox, how to force a specific plugin (i.e. Java) to always load through 'click-to-play'?

After I've updated Java to version 7 update 17 it no longer activates 'click-to-play' when I am browsing to a site that uses Java. I really like to put it back to 'click-to-play' list in light of ...
4
votes
3answers
934 views

Where is Java hiding on my PC?

In my efforts to root out the mysterious Java 1.5.0_11 installation I have hiding somewhere on my PC, I completely uninstalled Java. Now, a search in Explorer turns up nothing, but on the command ...
4
votes
8answers
6k views

How to schedule a java program to run Every day?

How can I schedule my java program(core java file) to run every day at a particular time? I want to schedule it in a Linux server and what is the same for Windows?
4
votes
6answers
10k views

Unable to install Android for Windows 7 because JDK is not found

I have JDK SE7u4 installed in windows 7. I tried to install Android on Windows 7 using the installer_r18-windows.exe but no avail. The setup window showed the message saying that the Java SE JDK not ...
4
votes
2answers
10k views

Java 7 update 6 installation fails on Windows 7 when Chrome is default browser

I am configuring a brand new Lenovo U410 system with Windows 7 Home Premium for a user. I received the system direct from the shop. As part of the configuration I installed Java using the online ...
4
votes
5answers
14k views

install sun java 6 and sun java 7 side-by-side on linux (fedora 16) using rpm

This is what I would like to achieve, but I'm failing (I'm a newbie in Linux). I have a Fedora 16 box (64 bit) and would like to install multiple versions of oracle java (java 6 and java 7 for the ...
4
votes
2answers
8k views

What applications use Java on a desktop? [closed]

I get the "There's a update for Java" notification on my computer. And as its a security update, I feel like I should get the new update and each time, I need to go through an installation process and ...
4
votes
5answers
12k views

Why there is no sun-java in Debian Wheezy and how can I fix this?

Sun's java is in Debian Lenny and Debian Squeeze repos (non-free) but no in wheezy1,2. Why? edit: after further research I found that java has been removed. reson: ROM; security issues and newer ...
4
votes
2answers
3k views

How to know the JVM path in a Linux system?

I want to copy some files in the subdirectories of the JVM path , java is already installed. How to know the JVM's path ?
4
votes
2answers
6k views

How to check Java version remotely

How can I check the Java version installed on a remote computer that I can't remote on. It's being used by someone so I can only check by \\computer-name\c$... Thank you!
4
votes
2answers
2k views

Find path to current JVM

I need to find the path to the current Java VM running on my Windows machine. How can I do that?
4
votes
3answers
610 views

Was/Is there a version of the Java VM for Windows 3.1?

...And can you still scare up a copy? This came up in a combination of curiosity and technical archeology today, and while there seems to have been one for the Win 3.1.x platform, I can't seem to get ...
4
votes
1answer
3k views

How can I set environment variables for GUI apps in OS X Mavericks?

I've been struggling to get an app to run in OS X Mavericks. I finally was able to get it to run by drilling into the .app bundle and running the shell script directly. It seems that JAVA_HOME needed ...
4
votes
3answers
28k views

How to disable the Java update message balloon in Windows 7? [duplicate]

I've looked in the Java section of the Control Panel, but don't see an obvious way to disable the automatic message balloon that pop up in Windows 7 asking me to update my version of Java. How do I ...
4
votes
1answer
154 views

How do Java applets get loaded?

I had this conversation yesterday with a friend of mine and I was trying to explain to him that applets are precompiled code that is loaded by the JVM through the Java browser plugin. I am trying to ...
4
votes
3answers
4k views

In what directory should I install Jetty on Ubuntu Linux?

I've downloaded jetty-6.1.14.zip into my home directory on my Ubuntu 8.04 box. Where is the appropriate place to unzip it? I put it in /opt because /opt is supposedly for "storing random data that ...
4
votes
3answers
155 views

Java installed, but “java -version” showed nothing, why?

I just bought a Win 7 PC, installed jdk1.6 and Netbeans, NB works fine, but when I did "java -version" in a command prompt, it can't find java, why ? How to fix it ? Edit : I thought the installation ...
4
votes
1answer
11k views

How to configure applet plugin for OpenJDK in Firefox on Linux?

I am using Kubuntu 10.04 with Firefox 3.6 from Mozilla's website and I use OpenJDK from the Ubuntu repsitories. I want to know how do I configure OpenJDK with the Firefox to view Java applets in the ...
4
votes
1answer
382 views

Switching from Java 1.7 to Java 1.6 in Windows 7

I changed the JAVA_HOME and Path Variable pointing to my Java 1.6 Location from Java 1.7-> tried checking the version using java -version. It showed Java 1.7. Next, tried deleting the Java 1.7 ...
4
votes
2answers
208 views

How do I toggle Java on/off in Safari browser?

In Safari preferences there is an option to disable Java which is nice but a bit cumbersome. Is there a plugin/addon/extension or an easy way to toggle Java on/off?
4
votes
2answers
1k views

Force reaping of java zombie processes on OS X 10.7

I have CrashPlan running on my MacBook Pro, and it went a little haywire. Essentially, it caused a fork bomb. Fortunately, I had an open Terminal window and was able to run this command: sudo ...
4
votes
2answers
12k views

How can I make JDK 7 the default JDK in NetBeans?

I uninstalled JDK 1.6.26, then installed JDK 7 and changed my PATH to point to the new version. However when I now open NetBeans it shows me this error: Cannot locate java installation in ...
4
votes
1answer
621 views

Will the Java 7 JRE be pushed out as an automatic update to people running the Java 6 JRE? [closed]

I believe a precedent for this must exist... when the Java 6 JRE was released, were users of the Java 5 JRE automatically updated to Java 6 JRE? Or to put it another way, are automatic update capable ...
4
votes
1answer
8k views

Can't install 64-bit Java on Windows 8.1 x64

I'm trying to install 64-bit Java on Windows 8.1 and I'm getting a strange error, "This app can't run on your PC". From what I've seen, this is supposed to show up if you're trying to install a ...
4
votes
1answer
3k views

Silent Java update check

How to have automatic Java updates without jusched.exe process running all the time in the background and with control when a check for the update should occur?
4
votes
1answer
375 views

How to get back to Oracle Java after installing OpenJDK

I've installed Oracle JDK using this guide. Then I accidently installed OpenJDK(tried to prepare PC to build Android). How do I get back to Oracle Java? Can I keep OpenJDK, but set Oracle Java as ...
4
votes
2answers
2k views

Revocation Information for this security certificate for this site is not available

I will randomly get a security alert window with a java logo that says the above, even if I'm not browsing the internet (I suspect java's auto-update or a number of other auto-updates for security ...
4
votes
2answers
1k views

Streaming Desktop using FFMPEG in windows

How to stream Desktop using FFMPEG in windows?? I have tried ffmpeg -list_devices true -f dshow -i dummy and after that this to stream ffmpeg -f dshow -i video="Chicony USB 2.0 Camera" -r 30 ...
4
votes
1answer
2k views

Java Plugin a huge security risk? How to preseve Java plugin from privilege escalation?

Installing a regular Java plugin is IMHO a real security risk for non-IT people. Normally Java applets run in a sandbox and the applet cannot do anything harmful to your computer. If an applet, ...
4
votes
2answers
564 views

Good operating system/virtualization layer combination for running dual screen with XP in a vm instance?

I have a situation where my work computer has Outlook+Lotus Notes with draconian protection. Unfortunately this means that Eclipse development (meaning zillions of small files) gets very slow. I now ...
4
votes
1answer
3k views

Why does limiting my virtual memory to 512MB with ulimit -v crash the JVM?

I am trying to enforce maximum memory a program can consume on a Unix system. I thought ulimit -v should do the trick. Here is a sample Java program I have written for testing : import java.util.*; ...
4
votes
1answer
320 views

How do I combine multiple java buttons into a pile on the taskbar?

Does any one know how to have open java windows stack in the windows taskbar? I'm running a few (20) java apps and they don't combine therefore taking up loads of room on my task bar. Taskbar ...
4
votes
5answers
4k views

How can I find non-ASCII characters in text files?

Is there a tool that can scan a small text file and look for any character not in the simple ASCII character set? A simple Java or Groovy script would also do.
4
votes
2answers
425 views

2 Java updates needed?

The picture below is a cropped snapshot of the programs and features section of my control panel on windows 7. Notice I have 2 Java things (Update 22 and Update 24). Is this needed, or can I ...
4
votes
2answers
6k views

How do I easily elevate when running a .jar file?

When trying to run an installer Jar file, I am getting an error saying that write access is denied to create a directory under the Program Files folder. Right click -> Run as Administrator is not ...
4
votes
1answer
12k views

How to install Sun's JDK on CentOS?

I having difficult time installing Sun's JDK on CentOS. The default installing with "yum" is "openJDK", but I need to install Sun's JDK. Is there easy instruction out there I can use or any ...
4
votes
1answer
2k views

Windows 8 and Oracle Java JDK 7u9 - “This application is not compatible”

I have never seen this error on WIndows 8 so far, that's why I'm asking for help here. First of all, I managed to install JDK 7u7. The installer worked like a charm, and my Java applications run too. ...
4
votes
2answers
7k views

Windows 7 unable to launch java control panel

whenever I click on java control panel, nothing happens. I did C:\Windows\System32>control java.cpl still nothing happens. I installed Java 6 update 24(the latest update), did not help. how do I ...
4
votes
1answer
13k views

How do I update Java from a non-admin account?

On Windows 7, the JVM interferes with my work by bringing up a UAC prompt at random times when it notices that it needs an update. I can see how this nagging makes sense, so I type in the admin ...
4
votes
2answers
2k views

Flickering Java application GUI on windows 7

I am trying to use the jMonkeyPlatform to create a game, but the GUI of the application keeps flickering black on refreshes and resizes of the panels. I found issues on more programs that have this ...
4
votes
3answers
1k views

Is it possible to preload JVM to make starting of little one-shot java applications faster?

Expected algorithm: You start JVM without actual application (only telling it to load some jars), it loads and listens a socket and waits in a background. When you start the application ...
4
votes
1answer
657 views

Mac OS X: Java Applet requests “unrestricted acces”

My bank has a Java applet that requests "unrestricted access" to my computer. Obviously, this seems a little 1984 to me... What happens when you allow this? Is the applet allowed (Root) access to ...
4
votes
2answers
3k views

Java sound doesn't work under Linux

I just installed Fedora 12 and after downloading and running the Java Sound Demo I get exceptions. If I run just a vanilla Java program that plays a .wav file it runs silently with no sound and no ...