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
61 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
0answers
20 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
30 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 ...
25
votes
4answers
83k 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
90k 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 ...
0
votes
2answers
511 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: --prefix=/...
1
vote
1answer
92 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 C:\Users\v-rray\...
1
vote
2answers
340 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
25 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
16k 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 ...
0
votes
0answers
21 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
39 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
17 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 ...
0
votes
0answers
115 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
107 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
298 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
111 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
60 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
25 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
13 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 ...
7
votes
3answers
12k 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 ...
2
votes
4answers
5k 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
37 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
44 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. ...
-2
votes
2answers
3k 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
1answer
43 views

JVM variable not set correctly enough for Android Studio

Having trouble firing up android studio. I get the following message: The environment variable JAVA_HOME (with the value of ?C:\Program Files\Java\jdk1.7.0_79\jre and every other variation I can guess)...
0
votes
0answers
44 views

Digital certificate - “A smart card was detected but is not the one required for the current operation”

I need to sign a document digitally on a website using a certificate installed on my computer. When I try to sign I get "A smart card was detected but is not the one required for the current operation"...
0
votes
1answer
9 views

Eclipse PDT setup for Java Server Pages

I have used Eclipse PDT for my PHP development project. Now, I am learning to code in JSP. Can I use Eclipse PDT for it? If so, what do I need to do to it for it to support JSP projects? Thanks. note:...
0
votes
0answers
75 views

Tomcat 7 has high cpu usage then fails when run as windows service

I put a ROOT.war in the webapps folder and tried to run the windows tomcat 7 service, but after starting it, it just hangs, spikes its cpu usage and then stops. There's nothing about the crash in the ...
0
votes
1answer
483 views

What would cause nVidia to produce this error when I run minecraft with HD textures?

I am hoping there is someone who has any idea what this error is all about. I am trying to use a 128x texture pack. Specifically SphaxPureBDcraft 128x. I can use the base 128x resource pack with no ...
0
votes
0answers
15 views

RHN + Rollback from a Snapshot return error

I am using the RHN version 5.7 And after I created snapshot and update the Linux machine with errata update Now I want to perform a rollback I am trying to perform rollback from a snapshot as ...
0
votes
1answer
102 views

Calculate Packet loss for data in android from streaming server in udp

I am developing a simple application for android where I need to communicate from server in UDP and I did that with the help of socket programming, now I need to find Packet Loss in my connection, so ...
0
votes
0answers
16 views

Eclipse Luna is crash in CentOS, whenever I tried to edit any Java file or any other file

Eclipse Luna is crash everytime in CentOS whenever I tried to edit any Java file or any other file. Eclipse is closed always. Plz suggest me something. I am running centOS in VirtualBox VM and Host is ...
0
votes
1answer
87 views

How to change Java version on Windows 10

I have done the following: 1. Set the environment variable JAVA_HOME: 2. Add Java 1.6.0_45 and disable Java 1.8.0_66 in Java Runtime Environment Settings under Configure Java: Unfortunately, the ...
1
vote
1answer
208 views

Can I install java 8 on Travis CI for a python project?

I have a python project that also requires Java 8 to run the tests and thus fails because Travis CI uses Java 7 by default. I know this can be updated if the project is a Java project but mine is ...
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... ...
0
votes
0answers
9 views

Requesting Help About Revelio Error

I downloaded Revelio software for a network test work, but it's not working properly. It says java lang error again and again. I tried many times. The website said that pc should have java installed....
2
votes
0answers
209 views

Eclipse - How to change background color of tooltips for hidden text/too long text

I use Eclipse Mars dark theme and have been trying to get colors right to my best effort. When you mouseover/hover an item which has a text too long and got partially hidden by window, a tooltip ...
2
votes
1answer
92 views

Download Java 1.7.0 JDK for CentOS

I have a CentOS 5.2 32-bit machine, which I can't connect to the internet. As Java Oracle does not seem to work, I would like to try using OpenJDK, but therefore I need to install OpenJDK first (...
0
votes
1answer
57 views

Is there any way to run a .jar file directly from a java Unix executable?

I have a .jar file and would like to open it using a Unix executable, java, that I have embedded within another application.(I do not have Java installed for security reasons) Is there any way to run ...
1
vote
3answers
3k views

Can't start Pycharm due to inability to detect graphics settings

I just downloaded the PyCharm IDE on my Feodra to play around with Django. I am unable to run it due to some graphics environment problem, which doesn't tell me much. I have downloaded and installed ...
0
votes
0answers
134 views

Java out of box cacerts certificate are SHA1 is there one with SHA2

Java/JDK/JRE they have a keystore cacerts under lib\Security folder as shown below Java comes with around 93 certificates out of box, These are not self-signed these are supplied by java itself ...
1
vote
3answers
12k views

Error: Could not find or load main class(Java)

I am using java in ubuntu machine. I can run java program from my eclipse. But I have some work that that I have to perform from command prompt. I could compile java program using javac HelloWorld....
1
vote
1answer
263 views

Input Device permission error: Beaglebone Black + JavaFx

I am trying to launch a JavaFX app on my beaglebone black running Debian. When launching as the root user, the application will launch but the touchscreen will bug out a little bit, displaying ...
0
votes
0answers
92 views

Is It Possible to Try Out Eclipse Che on Openshift Online? (Run Docker)

Is there any way to run Eclipse Che on Openshift Online? I created a DIY server and installed Eclipse Che to $OPENSHIFT_DATA_DIR, however upon running sh che\bin\che.sh, I was informed that Docker ...
0
votes
0answers
19 views

XML Spy Blocks Weblogic 10.3.2

My computer was shut down abruptly and since then i'm not able to run weblogic (10.3.2) locally on my computer ( neither from eclipse or manually from the oracle domain) . i keep getting the message: \...
0
votes
1answer
437 views

Windows 8 Java install is interrupted

Every time i attempt to install JRE 7u9 the installer gives me an error saying that java ran into an unexpected error please try installing later. Whenever i try I get the same error. I attempted to ...
0
votes
1answer
27 views

Installing a 32 version of java on mac?

I was recently was trying to use a library that needed a 32-bit version of java. I tried to get my version of java to use the 32-bit version by using the flag -d32. However, I received the error: ...
0
votes
0answers
74 views

Install Saiku CE (Tomcat web app) as a Windows Service

I have downloaded Saiku CE. It's an WEB app that runs under tomcat. The downloadable version comes with a preconfigured instance of tomcat, and when I fire the server with catalina.bat everything ...