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

0
votes
0answers
4 views

Algorithms implemented in Java to measure multi-core CPU performance

I've been using Linpack and SciMark2.0 algorithms to evaluate CPU performance. I found those here: http://www.netlib.org/benchmark/linpackjava/ and here: http://math.nist.gov/scimark2/ They work ...
0
votes
1answer
5k views

Eclipse using huge amount of System Memory

I have a sophisticated workspace set up with many eclipse projects in my workspace directory. In total the size of workspace directory is just over a gig, with the .svn directory from subversion a ...
0
votes
2answers
3k views

Unable to install Java Runtime Environment (ver 7 update 65)

Background: I am trying to setup PyDev on Eclipse Luna. I have managed to download and installed Eclipse Luna. But on start up, it said I need to download and install latest Java Runtime Environment. ...
3
votes
2answers
380 views

What's the difference between JDK 8u91 and 8u92?

The Oracle website seems to be recommending version 8u91 when you click on "Java for your computer". But when you click "Java for Developers", it gives two options: 8u91 and 8u92. What's the ...
13
votes
6answers
59k 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 ...
0
votes
3answers
299 views

How to remove Amazon Assistant that was installed by Java installer?

I recently did a clean install of Java about a week or two ago. It asked whether I wanted the Amazon button app installed. I opted NO. It still installed anyway. I removed it from Control Panel -> ...
0
votes
0answers
6 views

How to specify password on Windows command line when executing java -jar to extract files?

On Windows 7 I have pairs of .jar and .dat files from an Apple computer (export result files from another program), e.g. foo.jar foo.dat. I can extract the files by java -jar foo.jar. But this opens a ...
0
votes
2answers
3k views

OS X - Eclipse - WindowBuilder -> “Incompatible Java versions”

No matter what I do, Eclipse keeps saying that "Eclipse is running under 1.6, but this Java project has a 1.7 Java compliance level, so WindowBuilder will not be able to load classes from this ...
0
votes
0answers
8 views

Relation between memory host and memory arguments xms and xmx from Java

I have the following host with the memory details: $free -m total used free shared buffers cached Mem: 7872 7579 292 17 483 ...
0
votes
0answers
9 views

Can't allocate more RAM to Java Server

I am running a Minecraft .jar server and i want to allocate more RAM to it. Whenever i use the script"C:\Program Files\Java\jre1.8.0_91\bin\java.exe" -server -d64 -Xms2G -Xmx5G -jar server.jar -o true ...
24
votes
4answers
78k views

How do I uninstall Java6 from Mac OS X

With the end of public updates for Java 1.6 in February 2012, and the long list of security updates on the later 1.7, I am inclined to remove Java 1.6 and the JDK permanently from my Mac, if only I ...
5
votes
3answers
86k 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 ...
-2
votes
0answers
12 views

how to open a table and edit in putty using java?

I want to write a script in java to open a .dat file in Putty and I have to modify each time whenever I am going to run it. Do anyone have any idea about it? System.out.println("SFTP Configration ...
2
votes
3answers
23k views

How to make Microsoft JVM work on Windows 7?

I am struggling with the following problem. I cannot install MS JVM 3810 properly on Windows 7. When I start Interner Explorer 8 without starting any java 1.1 programs choosing Java custom settings ...
0
votes
0answers
14 views

Can anagram have repeated letters [on hold]

I am writing a Java program for printing anagrams of a word. I want to know whether anagrams can have repeated letters Eg: Java--->Javv or Jaaa Can Anagram can be formed without all the ...
0
votes
2answers
454 views

How do I install GCJ on OSX

I've looked at the gcj page and though there's downloads links they're only for downloading gcc, and with the apple version of gcc there is no gcj included: $ gcc --version Configured with: ...
1
vote
1answer
59 views

Install Java JRE using System- Level Configuration for Windows 7

I am installing Java's JRE using a batch script. The JRE version is jre-8u31-windows-i586.exe. When I run the script I get the following error: This is the command line call ...
-7
votes
0answers
47 views

Serious Computer Hack Can anyone Help Me Please [on hold]

I am not a techie but i have needed to do my own work as the police have not been at all helpful and currently my life depends on the help of cybercrime evidence. bad people have accessed my laptop ...
1
vote
2answers
152 views

Which application is triggering a “To use the 'java' command-line tool you need to install a JDK” dialog?

My CPU usage suddenly rose up to 80-100%. Couldn't find the trigger, so I just totally deleted Java from my Mac. Now I keep getting this popup: To use the "java" command-line tool you need to ...
0
votes
0answers
10 views

How to run JNLP file by force on my computer?

When running JNLP file on my computer, it says I have added the URL to the exception list of Java config but this didn't help. I am the human and according to laws of robotics, computer should ...
2
votes
4answers
13k views

Multiple Processes of “Java Web Start Launcher” showing up in the Task Manager when uninstalling Java

A few days ago, I planned to uninstall Java because I don't need it anymore. I use an uninstaller named 'Revo Uninstaller' to do a thorough uninstallation of older versions of Java. I was able to ...
-1
votes
0answers
12 views

WINDOW BUILDER GUI ON ECLIPSE [on hold]

I am working on a java project on Eclipse. I am using Window Builder to build the windows. When I send a class which was built using Window Builder, they can open it and it functions as it should ...
0
votes
3answers
5k views

Java applet only runs if IE is run as administrator

Java applets don't work at all (not detected by browser) if IE is launched normally. I'm currently using the latest version of Java 7u60 with Internet Explorer 11 on Windows 8.1. This issue seemed to ...
0
votes
0answers
6 views

ORA-12505 error come when connect to db in spring application

Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'workspaceDbdao' defined in class path resource [context-datasource.xml]: Invocation ...
0
votes
1answer
23 views

Forcing two instances of a Java Application to use different network interfaces on Windows 10?

As the title says I am looking for some method of having two instances of the same Java application (that lack this type of setting) to access the internet using different adapters. I found a couple ...
0
votes
0answers
12 views

java.exe heavy reading of symantec virus definition

I've noticed that a java application (IBM Webpsphere) is running slower than it used to be and doing a lot of IO. When I opened process monitor I saw a weird behavior: it was reading Symantec virus ...
1
vote
1answer
20 views

Groovy console won't load on Windows 7 x64

I've never worked with Groovy before. I installed the executable and the latest JDK from the Java website. I set my system ENV variables JAVA_HOME to C:\Program Files\Java\jdk1.8.0_77 and ...
0
votes
1answer
6k views

Windows 8.1 won't start a file extension using a .jar file, eventhough it's possible in windows 7

Here is a picture of the file i want to open, and the program i want to open it with. If i just click the jar file, it opens my program smoothly (I made that java progrma my self), no questions ...
0
votes
2answers
24 views

CMD not recognizing javac.exe

On my Windows 7 64 bits, I changed the JAVA_HOME variable to point on 64 bits JRE, and changed it again to point on 64 bits JDK. I did same operation a few times. Every time I do this change I close ...
2
votes
2answers
9k views

iReport doesn't work on Windows 8 64-bit

iReport version 5.1 doesn't work on Windows 8 64-bit. What do I do in this case? On Windows 7, it works fine.
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 ...
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 ...
0
votes
0answers
23 views

How to set screen resolution in Java arguments

As the title states, how do I set a java argument to set my PC resolution to 1200x800? For example, in Minecraft (lol) there is an option to set JAVA arguments in the profile launcher. I know ...
0
votes
1answer
31 views

Java Applet not using Proxy Settings

I'm trying to use an in-browser Java applet but despite the webpage loading, the applet fails to load. The applet is hosted on an internal server at another location and is accessed via a website ...
2
votes
2answers
5k views

Unable to change the Java update settings in Windows 7 control panel

Java updates are necessary but they are so frequent that i am now tired of it. Besides, I need to do simple work on my PC and the requirements for Java are seldom. Today, I went into the control ...
1
vote
1answer
99 views

All browsers do not see Java JRE at Windows 8.1

I am unable to run any Java applet in all browsers. Internet pages containing applets (or like that) says like "JRE is not installed on your machine. Install JRE and retry" or they just shows nothing. ...
0
votes
1answer
50 views

Crashplan 4.5 On Synology Diskstation UnsatisfiedLinkError

I've been running Patters' port of CrashPlan on my Synology Diskstation DS213j (ARM CPU). I recently upgraded the DiskStation OS to DSM 6.0. As part of the upgrade the CrashPlan service upgraded ...
0
votes
1answer
3k views

How to install Java6 add-on for IE9

I have an internal web app I need to test using java 1.6 on Internet Explorer. I installed the java6 jdk but there seems to be no add-on included for IE. I tried the 6 JRE too but nothing shows up in ...
1
vote
1answer
3k views

How can I view Java's cache?

If I use Control Panel > Java > View temporary files, I can view cached .class files, .gif files, etc. Why can't I see them in /../Application Data/Sun/../cache?
0
votes
1answer
15 views

Should Java SE Binary be allowed to communicate with my private/public networks?

I downloaded the Elder Scrolls Online Tamriel Unlimited game on my pc and got a popup explaining that Java SE Binary wants to communicate with public and private networks. I am a noob. I don't know ...
0
votes
0answers
18 views

Monitoring remote server in java

My goal is to create a spring mvc based application that shows the states of a remote server (ram,cpu usage ...) in charts. Is there any java API that makes this doable ? (an API with which i can ...
0
votes
0answers
10 views

Java JRE or JDK silent Update

Is there a way to Auto Update JRE or JDK if an update is available? Background periodically JRE or JDK says an update is available, I would like to do this check using Task Scheduler on system boot ...
1
vote
1answer
1k views

How to add Let's Encrypt to the Java allowed certificates?

I have recently switched to Let's Encrypt Private Beta for several of my domain names, and as a consequence several of my Java programs have stopped working because the certificate is not in the trust ...
0
votes
1answer
3k views

How can I view all Java Processes running on a windows box using CMD prompt

On CMD prompt, I am trying to list all Java processes with the CMD line arguments. In short, I want to list all Java processes which has jmxremote.port set on cmd prompt. whats the best way of doing ...
7
votes
3answers
11k views

Better syntax highlighting for Java in Vim?

I've found Vim to have fantastic syntax highlighting with my preferred color schemes for Ruby and Python, but whenever I need to write Java code, it's like I haven't even turned on highlighting in the ...
1
vote
4answers
4k views

JDK-Installer doesn't install

I can't install JDK on my Windows 7 64bit system. I downloaded the latest version (jdk-7u4-Windows-x64.exe) from Oracle and ran it. A warning appeared, because it's a download. I commited to continue. ...
0
votes
0answers
26 views

Java GUI statusbar shown too small

I have a Java GUI with a statusbar in the buttom. The GUI works fine on other PC's but on this particular PC the statusbar is shown too small. The PC runs Windows 7. The GUI is swing. The application ...
0
votes
0answers
25 views

Tomcat and Jetty only work once in Windows and then crash

I've had a series of issues with both SparkJava and SpringMVC's embedded servers in my Windows 7 installation. These two web frameworks use Jetty and Tomcat respectively as embedded web servers. ...
-3
votes
2answers
2k views

Where to download the last Chrome version with Java (NPAPI) support?

The Google Chrome browser version 45 completely dropped support for NPAPI in September 2015. This means plugins for Java, Silverlight, Facebook Video and other similar NPAPI based plugins will no ...
1
vote
4answers
6k views

CentOS installing jre/jdk error

[root@jony source]# sh run.sh Error occurred during initialization of VM Could not reserve enough space for object heap Error: Could not create the Java Virtual Machine. Error: A fatal exception has ...