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

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
404 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 -> ...
3
votes
1answer
4k views

How to downgrade JRE's version in Ubuntu?

Currently I am having JRE 1.6.0_20. How do I downgrade it to JRE 1.6.0_17? How can I downgrade? I'm using Ubuntu 10.04 LTS.
3
votes
1answer
3k views

Incorrect java -version on command prompt

I already had JDK 5 on my machine. I have updated JDK by installing Java Development Kit 7. Now, I have set the Path and JAVA_HOME variables as per latest Java. but still "java -version" showing me ...
3
votes
2answers
223 views

Copy Linux liveUSB causes errors with init.d scripts - Impossible..?

Please post your thoughts ideas or anything you may come up with. I would be very interested to see what anybody else is thinking. The Overall Problem When I install a simple Java application (...
3
votes
2answers
578 views

Wikipedia, Facebook, trying to run Java add-on

On a new PC, I disabled all Java plug-ins in Internet Explorer 10. From time-to-time on websites such as Facebook and Wikipedia I receive a message telling me that the website wants to run the Java ...
3
votes
1answer
614 views

X11 forwarding affects Java Swing GUI dropdowns - Items not selectable, Menus collapse immediately, and so forth

Have a Java Swing app that is running on a Linux server and is being X displayed back via X11 forwarding. Cygwin is running on my workstation. Connection is made to the server using PuTTY with X11 ...
3
votes
3answers
2k views

Updating from Java 6 to Java 7 on Mac

I am trying to install Java 7 on my Mac but after the install if I do a java -version I still see the old version... Can someone please help me out
3
votes
2answers
1k views

Why Java in Chrome browser is not actual

Chrome tells me:"The Java plug-in was blocked because it is out of date." I actualise it to newest version by .exe file on refered link http://java.com/en/download/index.jsp but Chrome still tells me ...
3
votes
1answer
131 views

Can I use my own Java program as a command in Windows?

I've developed a Java program which does the same task as the ls command in Linux. After developing it, I was thinking about using it as a command in the DOS prompt. Does Windows allow this? If it ...
3
votes
1answer
8k views

Running 32bit eclipse on 64bit windows

I am trying to use a 32bit installation of eclipse on my 64bit windows machine. I have eclipse extracted to my C: Drive and Java installed in ProgramFiles(x86) When I go to start eclipse I get the ...
3
votes
3answers
877 views

Disassociate file with cmd.exe

I recently chose cmd.exe as a default program for .jar files with instant regret. How do I associate this back again with javaw.exe in the JRE? The default program check box is disabled, so selecting ...
3
votes
1answer
376 views

Different installer variations of single Java version

Can anybody explain to me the difference between jre-6u20-Windows-i586-s.exe (downloaded from www.java.com) and jre-6u20-Windows-i586.exe (java.sun.com)? what does -s mean? And also what are exactly ...
3
votes
2answers
19k views

Multiple Java environment on the same Linux machine

What's is the most efficient way to install multiple concurrent Java JDK versions on the same Linux machine? I need Java5 whilst my current Ubuntu 9.10 Karmic comes loaded with Java6. I know I could ...
3
votes
3answers
16k views

Java: Different Versions for IE & FireFox

How can I install the Java JRE such that I have an older version for IE (specifically 1.4.2) and the latest version for Firefox and the command line? Note that I have attempted to install both 1.4.2 ...
3
votes
1answer
2k views

Can not start Eclipse Mars on OS X Yosemite 10.10

On a fresh OS X Yosemite 10.10 box, when I tried to run Eclipse Mars, I got the usual "You need Java 1.6, Click More info" box. I followed the link and installed the Apple maintained 1.6.x package. ...
3
votes
1answer
5k views

Where I can find the Java Control Panel in Ubuntu?

It is very easy to locate it in Windows, but I can not find where I can access the Java's Control Panel in Ubuntu 14. Security level settings in the Java Control Panel I need to add one site ...
3
votes
2answers
6k views

How to uninstall the JDK after deleting its files?

I wanted to install the JDK, but when I try to, it says: This software has already been installed on your computer. Would you like to reinstall it? I press yes. Preparing to remove... ...
3
votes
1answer
822 views

Modern alternative to POVray scene description languade

in short: Do you know something for generative scripting of 3D scene and rendering it like POVray, but with more modern rendering technology ( Metropolis-light transport, GPGPU, ambient occlusion ), ...
3
votes
1answer
2k views

Java - indicated update available but when clicked said already latest

Does anyone has the same problem as me? I am not sure if Java has a update or not, but it keeps asking me to update daily, but when I click to update, it said I already has the latest update?! My ...
3
votes
3answers
7k views

Minecraft (Java) frequently loosing connection on Windows 7

Minecraft, a Java client application, is frequently losing connection with the message "Internal exception: java.net.SocketException: Software caused connection abort: socket write error" or the ...
3
votes
1answer
2k views

How to add CLASSPATH parameters permanently when using sudo?

On Ubuntu 12.04.2 LTS 64bits, when using sudo or sudo -i or sudo su or even su in a session, in order to use both Java AND Scala I need to enter the following commands: sudo -i CLASSPATH=$CLASSPATH:/...
3
votes
1answer
651 views

Win 7 Certificate revocation information - correct way to handle it?

On one of my Win 7 (x64) computers I frequently get certifcate revocation dialogs. Most of them are somehow Java related, once in a while I get one for Xmarks. My main question is, what is the ...
3
votes
1answer
1k views

“compute launch button tooltip” error in eclipse

I'm trying to run Android SDK with Eclipse for the first time. I have never used Eclipse before and I'm running into the following error message over and over again, with no specific trigger: "compute ...
3
votes
1answer
644 views

Understanding Proxy Servers (Operating System, Browsers, JVM, Local Proxy)

In my years of working behind a firewall at my day job, I've lost count on how many times I've had to configure, reconfigure and just plain experiment with proxy server configurations to get that app ...
3
votes
1answer
565 views

Unable To Successfully Use Java Anywhere (Windows 7 64bit)

This is a bit of an odd issue: (This is with JRE 7u7 32bit.) New Lenovo W530 laptop, everything is shiny. I tried to use a java applet for the first time recently (in Chrome). I got the Java logo and ...
3
votes
1answer
113 views

Significance of OpenJDK being Java 7 Reference?

I have read the announcement of "Moving to OpenJDK as the official Java SE 7 Reference". I know that Sun Java will now be OpenJDK + extra proprietary bits, however I am unsure of how this will ...
3
votes
1answer
491 views

Fooling a program to think the Windows XP theme is different

I love using light-text-on-dark-background color schemes for as many programs as I can. However, I don't use a light-on-dark theme for Windows XP itself, because many Windows programs do not play ...
3
votes
1answer
2k views

FFMPEG too slow audio and video merging

I am using java process builder to merge audio and video files on OS X (10.6.4) but it is working too slow, for a audio and video of around 15sec it is taking around 1 hour to merge which is tooooo... ...
3
votes
1answer
2k views

(eclipse) difference between import and create project on existing source

i usually have to build on top of APIs or other projects. i am not very familiar with eclipse, so what would be the difference between import project and create project on existing source
3
votes
1answer
72 views

How can I download a cryptographically signed version the Java JDK from Oracle?

When going to Oracle's download site (https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=java_ee_sdk-6u1u21-wjdk-oth-JPR@CDS-CDS_SMI) to ...
3
votes
2answers
4k views

Java “could not reserve enough space for heap object” on a Centos VPS

[root@lab ~]# java Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine. Any idea how to fix this? [root@lab ~]# uname ...
3
votes
1answer
880 views

Java MToolkit and XToolkit problems

I am attempting to use a Java application (on a linux host) remotely (with X11), and I'm running into problems. The default XToolkit for AWT/Swing seems to have problems with menu alignment (such as ...
3
votes
1answer
2k views

Is there a direct URL to download Java JDK updates? [closed]

I have a whole set of machines that are on the other side of a firewall configured to prevent all Javascript from functioning. All of them (Linux 32 and 64 bit configurations) must be updated to Java ...
3
votes
1answer
1k views

How to run Java in Notepad++ command window to accept input

I'm don't know how to use the command line with Notepad++ to accept input and display output.
3
votes
1answer
2k views

No sound from Java web applet

Using Google Chrome and Mozilla Firefox browsers on Ubuntu 9.10, I am unable to get any sound out from Java (version 6 update 15) on Runescape or WebSDR. I'm only interested in getting WebSDR working ...
3
votes
0answers
41 views

Debian 7 java Executable Flag Disappeared

I have an up to date Debian 7 server, also running Plesk 11. Yesterday exactly at the same time (2015-09-21 11:38:13 EET) the exec flag has been disappeared from all the java executables on the server....
3
votes
0answers
33 views

“Installer enountered an error” for latest JDK 8 update on Mavericks

I went to the oracle jdk installation website http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html and upon launching jdk-8u51-macosx-x64.dmg the following ...
3
votes
2answers
243 views

Java Swing apps steal/don't release focus in KDE

Kubuntu 14.04 (64bit) with KDE 4.13.3, Java Oracle 1.7.0_80-b15 This problem first occured in 12.04 and persists. Java version does not affect the behaviour, i.e. the same happens with 1.6 to 1.8. ...
3
votes
1answer
717 views

How to use Java Plugin in Browser with JDK within Mountain Lion OSX?

I do not see any Java Preferences.app in my Utilities directory. I run a java -version in command line, there was nothing and prompted me to install version 1.6 from apple. It installs successfully. ...
3
votes
0answers
78 views

Puzzling apparition - RealPlayer rpchrome150browserrecordhelper.dll

I was trying to build and run an application I wrote a long time ago. It was not playing well with the new versions of the open source software it links to. At least two of the open source packages ...
3
votes
1answer
3k views

Java applet needs permission but doesn't ask for it!

I'm trying to connect a VPN connection (on Mac OS X 10.6.6) through a Check point java applet. The first time it ran I chose NOT to give it access to my files and such and now every time I try to ...
3
votes
0answers
367 views

arrow keys not working in Java application when using xmodmap

I've defined my keyboard mapping using xmodmap and it works beautifully with my browser and the rest of my software except java applications. I tried switching the AWT_TOOLKIT to Mtoolkit instead but ...
3
votes
3answers
3k views

Java compiler error: Can't open input server /Library/InputManagers/Inquisitor

I am trying to compile HelloWorld in Java under Mac OS X 10.6 (Snow Leopard) and I get this compiler error: java[51692:903] Can't open input server /Library/InputManagers/Inquisitor It happens ...
2
votes
3answers
24k views

javac command not found

I am trying to compile a java program I found on the internet and it says that I must check if javac is installed. I installed the JDK a long time ago so it should be working but I get command not ...
2
votes
3answers
1k views

java -version doesn't write to stdout?

Either I'm doing something silly or Sun is. How come something like: java -version > version.txt Still prints out to stdout and leaves version.txt empty? I'm checking out the exit code, and it's ...
2
votes
3answers
24k views

Is jucheck.exe a virus?

I keep getting a message from Windows that a program jucheck.exe is trying to connect to the internet. The message shows the publisher of the program as 'Unknown'. Is it a Virus? How to remove this?
2
votes
4answers
4k views

What does “com.developer.application” mean?

I'm editing a plist file on my Mac for the QuickCursor app. I'd like to try to add Aquamacs to the list of available editing applications. In any case, all the other editors listed in the plist are ...
2
votes
2answers
3k views

What version of java (if any) comes with Windows 7 default install?

What version of java (if any) comes with Windows 7 default install? Is java even installed by default in windows 7?