Widely-used object-oriented programming language, emphasizing portability. Questions about programming with Java are off topic and should be asked on stackoverflow.com.

learn more… | top users | synonyms

4
votes
2answers
3k 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
1answer
814 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
1answer
2k views

How to install 32 bit Iceweasel/Firefox and Java plugin so that webex audio works on Debian 64 bit?

Colleagues would like to communicate in a videoconference using Cisco Webex. This requires the Java plugin for Firefox/Iceweasel. Based on this blog, I installed the web browser plugin based on ...
4
votes
1answer
2k views

Java Web Start seg faults when run with no arguments

We are using Java Web Start to run our java application from our webpage. When the jnlp link is clicked the jnlp is downloaded but nothing happens. No error, no popup, nothing. Running manually for ...
4
votes
0answers
2k views

Build an Android Rom (Make Error 41)

I tried to build a custom Rom for Android 4.4.4. I use as base the Liquid Rom (Github Link) Before I build the rom, I had insertes in the local_manifests some apps to add to the ROM and before I did ...
4
votes
0answers
432 views

How can I get millisecond-level accuracy timestamps on screenshots (vlc)?

I'm currently using rt.exec("C:\\VLC\\vlc screen:// --dshow-vdev=screen-capture-recorder --dshow-fps=10 -I dummy --dummy-quiet --rate=1 --video-filter=scene --vout=dummy --scene-format=jpg --scene-...
4
votes
3answers
7k views

Java plugin in the browser doesn't work even though it is enabled

I installed the Java Development Kit (64-bit) recently and saw it includes the JRE plugin for 64-bit as well. But, since Firefox is 32-bit, I also installed JRE 32-bit version. This is what is shown ...
4
votes
1answer
7k views

Can't edit files in Eclipse even though not read-only

This is such an amateur question I'm embarrassed I even have to ask. In Eclipse, sometimes I can't edit a file. I can open it, but it behaves as it if it's a read-only file—typing has no effect....
4
votes
0answers
242 views

How to stop Java installer from “helpfully” offering to install toolbars, openoffice, etc. on every update [duplicate]

Possible Duplicate: Can I permanently prevent Java security updates from installing Yahoo Toolbar? For a while now, every time I install an automatically-downloaded Java update, the installer ...
4
votes
3answers
4k views

Installing Java 1.5 on Ubuntu? [closed]

I already have Java 1.6, but I need to test something with 1.5. I have downloaded the .bin file from http://java.sun.com/javase/downloads/index_jdk5.jsp using the Sun Download Manager. Now I want to ...
3
votes
6answers
3k views

How to ACTUALLY install Java on Linux?

I have a Ubuntu Server. From the terminal, how should I install JDK? In this guide it says to use this command: sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk But on Suns website, ...
3
votes
2answers
434 views

Make file open with different program

I accidentally opened a Java file with Firefox and now I cannot change this... How can I make JCreator default again? Here is example of my problem:
3
votes
5answers
32k views

Do I have a Java Virtual Machine on my Windows 7?

How can I find out if there is Java Virtual Machine installed on my Windows 7?
3
votes
3answers
10k views

How do I know if I have Java installed on Ubuntu

I am trying to install the FreeMind app (i know x2) on Ubuntu 9.10 but unsure I have Java. So, how can I verify that it is on my system?
3
votes
1answer
207 views

How can I disable Java in my browser?

A new Java 0-day exploit was discovered on 2012-08-26, and is out in the wild. It affects Oracle's Java on Windows, Mac and Linux desktops and affects all major browsers. Plenty of websites recommend ...
3
votes
5answers
10k views

Java Swing over Remote Desktop - Strange, weird GUI squashing

I thought this question fits SuperUser more than StackOverflow because it's not about actual Java programming, though programmers might be more likely to encounter the problem. Anyway, let me start of ...
3
votes
2answers
22k views

After Java update, Juniper VPN site is not recognizing that Java is installed

I am using Chrome with an updated Java (v. 10.51.2.13, SE7 U51). Before the updated Java, I was able to get on my job's VPN without any issues. Now, after logging in, I get this prompt: I clicked ...
3
votes
3answers
14k views

Where to get an IBM jre for 64-bit Windows?

I couldn't find anything from IBM website about where to download an IBM jre (specifically, IBM jre1.6.0 J9 2.4 SR6) for a 64-bit Windows OS. Google takes me to a link which looks similar, but that ...
3
votes
7answers
27k views

Installing Java in Firefox without admin privileges

I'd like to install Java in Firefox on Windows but I don't have administrative privileges on my machine. Any clue on how to achieve this?
3
votes
6answers
9k views

How to know if a site uses Java?

What is a quick method to know if a website uses Java (e.g. in a Java applet). One way would be to scan the source code of the page for clues, but I am looking for a quicker way. If possible, not a ...
3
votes
1answer
2k views

How to change brace position in IntelliJ IDE?

I am using the IntelliJ IDEA ide for java coding. By default it produces curly braces on the same line as the function name, like so: function bla() { .. } Can i change it somewhere there so that i ...
3
votes
2answers
11k views

Cannot install Java 7 update 9 32-bit on Win 7 64

As there were several versons of Java on my laptop, I decided to uninstall them all and reinstall only the current version. I uninstalled all 64-bit and 32-bit versions using Revo Uninstaller. After ...
3
votes
2answers
865 views

Make My Own Made Java Based Text editor as default Text Editor in Windows

I have made a Text Editor in Java and I want to make it default text editor. Similar to Windows when it defaults to Notepad as the editor, and whose icon shows on all text files and double clicking ...
3
votes
1answer
12k views

How do I allocate more RAM to Java?

A java application I'm using keeps crashing, when I had a problem with a similar application I managed to fix it by allocating more of my RAM to Java. How do I do that? (I recently upgraded to 16 GB ...
3
votes
3answers
3k views

How can I increase the memory heap in pycharm

I am using pycharm and its memory shown at bottom right corner is 750M. I could not find any setting where I can increase that. Where do I increase that memory. I am using version 3.4. I searched a ...
3
votes
1answer
3k views

After upgrade to OSX Mavericks: “Unable to find any JVMs matching version 1.6”

After upgrading my work notebook from Mountain Lion (10.8.5) to the Mavericks (10.9.4) this weekend, everytime I open the terminal I now get the following error message: Unable to find any JVMs ...
3
votes
1answer
3k views

Upstart: unrecognized service (CentOS 6.4)

I have created an upstart service from this gist. I put it into: [andrey@vm01 ~]$ ll /etc/init/play.conf -rw-r--r--. 1 root root 1255 Dec 1 20:50 /etc/init/play.conf I also installed upstart, as ...
3
votes
2answers
748 views

How do I make a custom file extension open my java program?

what I'm asking is how to make any associated file type open my program with the corresponding data. For example, if you have a .doc file it opens Microsoft word with whatever is saved to that file. I ...
3
votes
1answer
241 views

Why do Java and Flash not use Windows Update? [closed]

Windows Update should be the central way to update any software on Windows, but it only updates Microsoft stuff. Java and Flash use independent ways to update. Flash is annoying when it opens a ...
3
votes
1answer
209 views

How to add esapi to ColdFusion 8

On https://github.com/damonmiller/esapi4cf there is a description of how to add the esapi jars to ColdFusion 9, but I'd like to know how to add them to ColdFusion 8. I but the esapi-2.0.1.jar in a ...
3
votes
2answers
7k views

Eclipse crashed

I have Windows 7 64 bit OS, I was just using Eclipse Helios, before I restart my pc, after the restart I am not able to use eclipse anymore. when I click on the eclipse icon, it opens but while ...
3
votes
4answers
4k views

Why am I getting “display driver stopped responding and has recovered” when using Java applications?

During normal use of Java applications (including the Java configuration application accessed via Control Panel), my screen goes black and after a few seconds I get the error "Display driver stopped ...
3
votes
2answers
5k views

Cannot install Java JRE on Windows XP workstation (possibly due to previous failed uninstall)

My Windows XP workstation at the office had several old versions of the Java JDK and JRE installed on it. I decided to install the newest Java JDK and uninstall the older JDKs and JREs. This resulted ...
3
votes
3answers
151 views

How web servers can find each other in a local network?

I would like to build a local network consisting of several computers each of which is running a web server. These web-servers should communicate with each other. But the problem is that IP addresses ...
3
votes
2answers
5k views

JAVA_HOME errors when run without sudo

Hello I am on Linux Mint 16 KDE 64. I have OpenJDK 7 installed and Oracle JDK 7 and if I run Intellij as a normal user I get: 'tools.jar' seems to be not in IDEA classpath. Please ensure ...
3
votes
2answers
8k views

java tries to update every day

I am running java on a win7 environment. The issue is that it asks for update every day but does not find any updates. Shouldn't it find out when is it that there exists something new to update to, ...
3
votes
3answers
7k views

Disable Java Hardware Acceleration in windows?

I have some issues with my graphics card and I want to disable Hardware Acceleration for java apps. Everything that uses HA is displayed blurry. I've seen some tutorials on how to set this parameter -...
3
votes
1answer
2k views

Run Java applets on Chrome 36 on Linux x86_64

How can I enable or make Java (OpenJDK) available on my Chrome 36 browser? I have installed all 32 and 64 bit (headless) packages as well as the icedtea-web package (noarch) and still I can't get ...
3
votes
3answers
1k views

Remove openjdk without removing tomcat

When i want to remove openjdk it says that tomcat will be removed too. apt-get remove openjdk-6-jre-headless Reading package lists... Done Building dependency tree Reading state information......
3
votes
1answer
1k views

Package/Isolate browsers together with old Java versions?

I am in need to supply old Java versions (1.4, 1.5 and 1.6) for three different webpages which require the Java Plugin in those specific outdated versions. My environment is a Windows Server 2012 ...
3
votes
1answer
2k views

java wont run under chroot cause it can not find shared libraries

i have openjdk and jRuby installed and running properly. however when i run exactly same environment under chroot, i get: error while loading shared libraries: libjli.so: cannot open shared object ...
3
votes
3answers
4k views

Java -version reporting wrong version on Mac OSX Mountain Lion

I just installed Oracle's Java version 7u7 on my Mac (running OSX Mountain Lion). However, when I run java -version it still displays the old version (6u29). How do I fix this? Do I even need to ...
3
votes
1answer
817 views

What is the Linux equivalent of Window's PATH

In Windows I set my PATH to point to my JDK bin folder so I can easily run commands that involve Java. What is the equivalent of this for Linux distros? I am using Linux Mint 13.
3
votes
2answers
5k views

netsh advfirewall => command not found

Because of the Java 7 firewall problem, I am trying to execute the following command as administrator but I get an error: netsh advfirewall set global StatefulFTP disable (German) "Der folgende ...
3
votes
1answer
914 views

Error while removing Java on Windows 7

I'm trying to uninstall Java from Windows 7. ERROR 1723.There is a problem with this windows installer package.A DLL required for this install to complete could not be run.Contact your support ...
3
votes
1answer
4k views

Can I run a 32bit Java app on a 64bit platform?

I have an old Java app which has been compiled for the 32bit platform. I've moved from Windows XP (32bit) to OS X Snow Leopard (64bit) and I'd like to continue using this app, however I'm getting an ...
3
votes
1answer
3k views

32-bit java dominates my PATH magically

I have a 32-bit Java installed just for Chrome and 64-bit Java JDK for everything else. When I type java -version in the cmd, the 32-bit Java answers: C:\>java -version java version "1.6.0_26" ...
3
votes
1answer
1k views

MTU setting ignored by Java socket on loopback

I've got a mtu problem. I did the following: root@sa-headend:/home/sa# ifconfig lo mtu 1500 root@sa-headend:/home/sa# ifconfig lo lo Link encap:Lokale Schleife inet Adresse:127.0.0....
3
votes
3answers
403 views

If I need to install the latest Java SDK, what apt-get should I install?

I'm on Ubuntu Maverick. There are too many packages when I run apt-cache search java.
3
votes
1answer
7k views

eclipse adding java ant based project: Specified buildfile does not contain a javac task

I have a project that i wrote for apache tomcat. I started working with eclipse i want to import the project to eclipse ide. using eclipse 3.6.1. when i create a new project using : File -> New -> ...