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
19 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
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
2answers
66 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
2answers
84 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
110 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
288 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
103 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
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
1answer
38 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
57 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
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 ...
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
43 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
109 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 ...
1
vote
3answers
939 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
41 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
40 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
70 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
14 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
100 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
83 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
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....
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 ...
0
votes
0answers
124 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
91 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
91 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
0answers
70 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
64 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
118 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
20 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
67 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
133 views

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
159 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, ST=...
1
vote
0answers
47 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. /etc/...
1
vote
2answers
327 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
2answers
107 views

What is java virtual machine and what does it have to do with Java?

I was trying to install eclipse on my Macbook Air. When I run the installer I get this message There seems no official page dedicated to JVM like other Apps. When I search "install jvm" I was lead ...
1
vote
1answer
155 views

How to open cmd and run a batch file in it in one command

I'm making a program which runs C++ using G++ and to build/run it, it creates a .bat file which should then be ran in a new cmd window. From Java, I can run commands, but just running a command doesn'...
0
votes
0answers
42 views

How to determine if Windows remote workstation is powered on

My Situation: I work at a company with about 500 computers in at least five different states. All of them are Windows machines (the great majority are Win 7). What I need to do is determine whether or ...
1
vote
0answers
66 views

IE 11 Java Issue

I have installed IE11 in my Windows 7 Professional. But IE 11 (64 bit) is not detecting the installed Java, and it always asks me to install the JRE 6 update. In my machine, I have installed JDK 8 ...
0
votes
1answer
263 views

How to run .jar file

I am currently running Windows 10 and am trying to open several installer .jar files for a game. In order to open the, I downloaded Java as that seems to be the most straight-forward way to do so. ...
0
votes
0answers
48 views

How do I implement and integrate my own SASL provider?

(This is my first foray into authentication, so please be gentle) I'm running an Apache/Tomcat site with single sign on and bcrypted passwords on a CentOS server. Now I'd like to provide ...
0
votes
0answers
20 views

Whitelisting JAR-files

at the moment I try to create a Windows-'hardening guide' for some company. A requirement is that the Java Runtime Environment (JRE) is installed. I'm absolutely on in Java however and one requirement ...
0
votes
0answers
44 views

In the Java Control Panel Advanced tab, when I check Mozilla family it unchecked automatically

I need Java to run Oracle EBS Apps on the browser. I am having a problem adding the Java plugin on Firefox. In the Java control panel advanced tab, Default Java for browser, when I check Mozilla ...
0
votes
1answer
47 views

Need to run .jar file having .sh file on desktop for all PC's.

i'm running a .Jar file User Interface which include script from Desktop of PC by following code in netbeans. String[] pc1 = {"gnome-terminal","-e","/home/noman-i7/Desktop/connect/pc1.sh"}; my code ...
-1
votes
1answer
707 views

High CPU usage and very slow performance with Eclipse

I have a very strange situation with my computer. This is Win10 with both jdk8 x86 and jdk8 x64 with 16GB ram and 3.6GHz i7 processor. I develope with eclipse ide and tomcat webserver. I have the ...
0
votes
0answers
23 views

How to add Xapian to eclipse

I want to use xapian db for my java project . However, I do not understand how I can add xapian to eclipse . I am following this code : import org.xapian.*; public class SimpleSearch { public ...