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

learn more… | top users | synonyms

3
votes
2answers
762 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
9k 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
5answers
19k views

Enable TLS 1.1 and 1.2 for Clients on Java 7

Java 7 disables TLS 1.1 and 1.2 for clients. From Java Cryptography Architecture Oracle Providers Documentation: Although SunJSSE in the Java SE 7 release supports TLS 1.1 and TLS 1.2, neither ...
3
votes
1answer
4k views

Arbitrary code folding in Eclipse?

I know that we can fold methods,if statement and ... .But I want to fold arbitrary part of code that is written in a method.I guess that in NetBeans we can do this: // <editor-fold desc="describe ...
3
votes
2answers
525 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
235 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
198 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
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
132 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
4k 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
7k 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
5k 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
2answers
6k 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
3k 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
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
1answer
1k 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
3answers
816 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 ...
3
votes
1answer
673 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
2answers
4k views

How to enable Java Quick Starter (JQS) on Windows 7

I remember that Unix (Sun blades and Linux) did launch java apps instantly, especially if we compare to Windows. This was cool but now I call a java utility millions of times per second in the batch ...
3
votes
2answers
3k 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
475 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
4k 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
901 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
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
982 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 ...
3
votes
2answers
2k views

How to install Java and Groovy in Ubuntu?

I'm a new user to Ubuntu! so I need your help. How do I install Java and Groovy in Ubuntu?? Please give step by step instructions.
3
votes
3answers
400 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
6k 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
2k views

Windows' “open with” with java and a jar file

I use the rest-client to test REST APIs. It is basically just a .jar file, that is called via java -jar rest-client.jar. The rest-client uses two file extensions, in my case .rcq, to store data in ...
3
votes
1answer
1k 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
212 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
537 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
423 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
1k 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
881 views

How to copy text from Java program?

I am using a Java program called JDownloader v0.9.581 and I wish to copy the full file and link list from main scrolling window. JDownloader has no way to save the full list as a text file. I have ...
3
votes
1answer
1k views

Jabref will not start

When trying to start jabref, I see the following error WARN No appenders could be found for logger (org.java.plugin.ObjectFactory). log4j:WARN Please initialize the log4j system properly. Oct 31, ...
3
votes
1answer
1k 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
1answer
125 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
7k 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
801 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
358 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
12k 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
13k 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

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
4k 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
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
1answer
437 views

“Load average” stuck on 7.0

I'm using gentoo and anytime I do uptime, my "Load average" is stuck at 7.0 across the board. When using top or htop or dstat the CPU usage is always idle. The computer is used to run a Java program ...
3
votes
3answers
6k 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 ...