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

-1
votes
0answers
31 views

Bypass Java Security on Java 1.8

Has anyone been able to bypass this prompt for internal applications that have an expired certificate? We are on Java 1.8.0_77. I am getting the following java error: "Your security settings have ...
-1
votes
0answers
17 views

Java Installer crashing when accessing VBA code

I work usually with DDE Excel. I have two computers, one with Windows XP and another with Windows 10 64 Bit. The problem happens with the latter computer. I connect the computer with provider DDE ...
0
votes
0answers
5 views

monitor applications running on a virtual machine

i have three tasks -get urls of all the application running on a virtual machine, get their log files, and get the number and names of applications running on a machine. And all this needs to be done ...
0
votes
0answers
94 views

How can I enable Java in Firefox 46 for selected sites? (May 2016)

I want to run Java code in Firefox for certain websites. I run the 32-bit FireFox 46 under Windows 7-64 (admin account). I have the latest 32-bits Java 8 update 91 installed, the Java control panel ...
0
votes
0answers
13 views

Algorithms implemented in Java to measure multi-core CPU performance [closed]

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
0answers
9 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 ...
3
votes
2answers
1k 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 ...
0
votes
0answers
11 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
13 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 ...
-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 ...
0
votes
0answers
12 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 ...
-1
votes
0answers
13 views

WINDOW BUILDER GUI ON ECLIPSE [closed]

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
0answers
7 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
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 ...
0
votes
3answers
29 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 ...
1
vote
1answer
28 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
0answers
24 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 ...
1
vote
1answer
115 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
32 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 ...
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
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
1answer
17 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
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 ...
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
29 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. ...
0
votes
1answer
62 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
3answers
358 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 -> ...
1
vote
1answer
24 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 ...
0
votes
0answers
18 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 ...
0
votes
1answer
8 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. ...
0
votes
0answers
29 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
0answers
10 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
58 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
11 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
36 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 ...
0
votes
0answers
8 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 ...
0
votes
1answer
37 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 ...
0
votes
0answers
42 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 ...
2
votes
1answer
36 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
0answers
53 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
11 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
0answers
29 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 ...
0
votes
0answers
47 views

How to start Minecraft 1.8.8 from the command line?

I'm trying to launch Minecraft 1.8.8 (or higher) from the command line with the Username and the Session ID as parameters. This code doesn't work: java -Xms512m -Xmx1g -Djava.library.path=natives/ ...
0
votes
0answers
35 views

Cannot install JDK 8 on new installation of Windows 10

I installed Win 10 Pro 64 bit on my computer today. I need to install Java SDK and Android Studio as I need them for my work. I downloaded the exe file from Oracle, as I have done several times in the ...
0
votes
0answers
11 views

How do I address the java process warning and MySql conflict while deploying Hortonworks?

I have two nodes in AWS. I got a java process warning while registering and confirming hosts. Could this warning message, issued for the name node, be ignored please? Process Issues (1) The ...
-1
votes
2answers
47 views

How To Run A Complex .bat file

I am running a Minecraft server from Windows, and the .jar that starts the file is located at C:\Users\David\Server\bin\pw\prok\KCauldron\1.7.10-1614.200\KCauldron-1.7.10-1614.200.jar What I do 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
1answer
66 views
+300

Installing Eclipse 4.5 on ARM Ubuntu

I recently got an excellent deal on a Chromebook (Hisense C11), and have used crouton to install Trusty Tahr (14.04): (trusty)craig@localhost:~$ uname -a Linux localhost 3.14.0 #1 SMP PREEMPT Wed Apr ...
0
votes
1answer
53 views

How to Import *.p7s certificate chain into keystore?

I've used this commands to create my csr keytool -genkey -alias server -keyalg RSA -keysize 2048 -keystore domain.jks -dname "CN=*.domain.com,OU=Software Development, O=Company Name, L=Asuncion, ...
0
votes
0answers
35 views

Running java app as root in apcupsd doshutdown causes java: Permission denied

I'm trying to customize apcupsd doshutdown event script to run a certain java program which among other things at the end hibernates all virtual machines and finally the main system itself. ...