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
1answer
508 views

Jenkins using JNLP behind nginx SSL reverse proxy

I'd like to use JNLP to connect jenkins slaves to jenkins master. The master is running behind an SSL nginx proxy set up according to official documentation. Beyond this documentation I run into ...
0
votes
0answers
64 views

How can we deploy java.policy to <JAVA_HOME>\lib\security

for example, our user workstations are using java 8 update 51, the java is installed at C:\Program Files\Java\jre1.8.0_51\ There is a file aka java system policy file -> C:\Program Files\Java\...
2
votes
2answers
2k 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 ...
1
vote
0answers
30 views

Logging SOAP-queries in Glassfish v4

I need catch SOAP-queries, which come to my application in GlassFish. I found how this work on GlassFish v3 and v2, but not for v4. I try reed official documentation, but not found nothing interesting
0
votes
0answers
19 views

An ftp installation on Amazon linux from ssh java client

I have just successfully started an EC2 instance on AWS, I have successfully installed a LAMP server using YUM from the mindterm JAVA ssh client.... However it reaches a point where I'm required to ...
1
vote
2answers
387 views

What is the difference between a Java virtual machine and a VMWare VM?

I know that they are both called 'virtual machines', but what is the exact difference?
0
votes
1answer
185 views

Can't install Java in Vista because of an Error 1603

Background I have had the same laptop for about 6 years (an Acer Aspire 8920), which runs Windows Vista. I have 2 hard drives, and I use one for the OS, and one for larger applications and data. ...
2
votes
1answer
67 views

Batch file to add Java Cryptography Extension files to updated Java

I'm trying to automate the following situation on a Windows 7 workstation. I use Java only for a single vendor app that requires the Java Cryptography Extension files to be placed in \security. ...
1
vote
1answer
23 views

How to create any application window that should not pass to projector screen on mac?

I want to know there is any way to write a application on mac, and that application window should only visible on screen even that system connected to projector screen. For Example: If i write some ...
0
votes
1answer
37 views

JML Error : The .class file appears to be malformed

This question was originally posted on Stack Overflow, and I have been told to post it here instead. I am a Teaching Assistant preparing an assignment for my students, in order for them to learn ...
0
votes
2answers
128 views

How can one block a port without administrator privileges?

I have found that binding to a port with a Java program prevents other applications from using the port in question. However, if an application is already using the port, a Java program cannot be used ...
0
votes
0answers
35 views

Install programs for different accounts Win7 Home Premium

Can someone explain me how to install a corporate software in their community editions for different Windows 7 Home Premium users' accounts. I'm planning to create an account on Win7 for installing a ...
0
votes
1answer
512 views

How to launch minecraft 1.8.5 from Command Line

I'm working on a custom MC Launcher, but I can't find a way to run Minecraft (1.8.5) from the command line. I saw some other examples which used to work fine on 1.7.2, but I can't get that code to ...
0
votes
0answers
167 views

Zookeeper vs MS ActiveDirectory or LDAP

I'm currently looking for a good configuration storage, which is quite easy to integrate and maintain. As far as I see, Zookeeper is the most suitable one for Java applications. (It has a very ...
0
votes
0answers
44 views

The field Component.height is not visible: Java

I am making a program, and it keeps on saying: The field Component.height is not visible This is the program (The file that won't work): package my.project.gop.main; import javax.swing.JFrame; ...
0
votes
1answer
74 views

Configuring JDK, SDK with Android Studio and Eclipse

First, I installed jdk-7u80-windows-x64 from Oracle, after that I install android studio along with SDK(I don't know what version) and they run smoothly. Second, I opened eclipse because I have ...
0
votes
0answers
28 views

My rundll32 url.dll does not work with try catch

I set firefox to default browser and use command rundll32 url.dll to launch url in java. It's work well. After that, I go to firefox folder, change firefox.exe to firefox123.exe..The command rundll32 ...
0
votes
0answers
54 views

Install and run opengamma

I am trying to install Opengamma on Arch Linux as per this wiki https://github.com/OpenGamma/OG-Platform also there is a reference docker image available https://hub.docker.com/r/ptimof/opengamma/ ...
0
votes
0answers
78 views

Java Control Panel won't open

I can't open the Java Control Panel (even with the "javaws -viewer" or "%SystemRoot%\system32\javacpl.cpl" cmds). I tried reinstalling (after Revo Uninstalling, then after manually deleting all ...
0
votes
1answer
82 views

How to show hidden files (.*) in Java app's open file dialog on Linux?

I have an Java application (JabRef to be specific) on Linux OS (Fedora 22), and I want to open a file under a hidden directory (one beginning with dot). But in the open file dialog, I cannot find how ...
0
votes
2answers
111 views

Strange error from Easy Tomcat 7 connecting to MySQL database

I'm fairly new to Java servlet and web app development, but this is puzzling. I have built a project in Eclipse (Mars) that consists mostly of static HTML pages with one JSP that contains a form that ...
1
vote
1answer
91 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\...
0
votes
0answers
61 views

FireFox doesn't recognize correct Java RE

I have Win7 with FireFox 41.0.2 with a very old profile and 7 different Java instances. I can't simply delete old Java instances or the whole FireFox profile, and shouldn't be needed to. FireFox ...
1
vote
0answers
110 views

Eclipse sluggish/slow on Linux dual monitor

I know there are severeal questions that ask how to improve the response behaviour of eclipse. However, most of the answers suggest to disable openjdk and install oracle or increase (or sometimes, ...
0
votes
0answers
343 views

Update JAVA 8 Update 60 to Update 65 or 66?

I had Java 8 Update 60 on my systezm & it told me there was an update to update 65, so i have updated. However there also is Update 66, yett Java on my system doesn’t want/need to update to that ...
0
votes
0answers
24 views

Making Cassandra work with certs/keys generated by OpenSSL instead of keytool

I saw this in the Cassandra documentation: http://docs.datastax.com/en/cassandra/2.1/cassandra/security/secureSSLCertificates_t.html I found this line "SSL certificates must be generated using ...
0
votes
0answers
52 views

java command returns no output

I'm using Red Hat 4.4. Whenever I type any java command into the terminal, no output is returned. It does nothing, just like typing the cd command outright. I've tried java -version to see if it'...
0
votes
0answers
23 views

Install OpenJDK to Home Directory

I'm working off of a Linux machine and Java's giving me problems. I'd like to try to swap out the version of Java being used, but don't have root access. Hence: Is there a way for a user to install ...
0
votes
1answer
205 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 ...
0
votes
1answer
843 views

loadlibrary failed with error 1114

Yesterday i upgraded my OS Windows 7 to Windows 10. When i try to run Android project, which created with LibGDX framework, at desktop mode Java throw LoadLibrary error. Run scf scannow command at cmd....
0
votes
1answer
74 views

How do I get Java try to install again after it failed to update the first time?

All of a sudden while I was working a window popped up asking to install an update on Java: After it downloaded and started to install it popped up an error saying, "An error occurred while ...
0
votes
0answers
77 views

Issues with windows command line using utf-8 code page

In my application, I'm reading the properties file(UTF-8 encoded) containing Chinese characters and printing them on the Windows command line. But,for some reason the the messages are not getting ...
0
votes
2answers
2k views

Installing JDK on Windows 10 - MsiEnumProducts error 1610 due to broken WBEM library/WMI library

I failing on installing JDK 8 on an x64 Windows 10 installation or updating from any older version to the up-to-date version. After the usual Java Update failed with no error message whatsoever, I ...
0
votes
0answers
784 views

Unable to connect to sql server 2012 with SSL encryption enabled using sqljdbc4

I am trying to connect my web application to SQL server 2012 with SSL encryption enabled using sqljdbc4 but i get the below error : com.microsoft.sqlserver.jdbc.SQLServerException: The driver ...
1
vote
0answers
192 views

Sslhandshake Java 6 and tls 1.2

When client application running with oracle Jdk 6 tries to invoke my application which is running on Jdk 7 it gets error stating remote host closed during connection sslhandshake exception. The same ...
0
votes
0answers
40 views

How to remove an incorrect package version from Ubuntu

An X86 XUbuntu system I work with has Java 8 installed via webupd8, and also a failed version for ARM. I want to remove the partially installed ARM version of Java. $ sudo apt-cache showpkg oracle-...
0
votes
0answers
31 views

Can't Activate Aptana Studio 3

I am having the same problem that "Beaurocks 16" had with trying to bring up Aptana Studio 3. I always get the error message with the long dialog box displaying the Java VM and a lot more info. Here ...
9
votes
1answer
9k views

How do I run Java apps upscaled on a high-DPI display?

I'm trying to run a Java app (JAR file) on a high-DPI display on Windows 10. The app uses Swing and thus isn't DPI-aware. Normally when I run an application that isn't DPI-aware, Windows will scale it ...
-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 ...
5
votes
3answers
15k views

Eclipse on OS X El Capitan: Version 1.6 of the JVM is not suitable for this product

I've updated to El Capitan, and now want to run Eclipse. Luna didn't work, so I downloaded the latest version, Eclipse Mars. At startup it told me to install Java 1.6. So I did, and then I get this: ...
0
votes
1answer
617 views

Java Web Start Crashes After Splash Screen

I am working with JNLP and I'm unable to launch Java Web Start. The issue is specific to my machine. I am able to launch it on other PC's without any issues. When I launch the JNLP the Java Web Start ...
0
votes
1answer
28 views

How to run Java emulator in genymotion

I try to run an emulator in genymotion and this is what it wrote so I try with the virtual box and that what it says: Can someone help me?
2
votes
1answer
179 views

LibreOffice dictionary and spell checking in other languages? (without Java)

Using LibreOffice (latest version) on OS X, everything in English. However I frequently work with documents in other languages (e.g. German, Dutch, French) and I would like to have spell checking for ...
0
votes
1answer
117 views

Is RAID-0 noticeable in a programming environment? [duplicate]

I use my computer mainly for programming - Java, IntelliJ IDEA.. it's a bit of a slow IDE, especially on opening a project / loading up the IDE. I also use the eclipse compiler with it, but there are ...
0
votes
3answers
9k views

How do I find the Java Control Panel / Verify it is installed?

I upgraded to Windows 10 from Windows 8 and I thought we already had Java installed, but couldn't find it anywhere. So I downloaded the latest version and followed all the prompts, thinking I would be ...
-5
votes
1answer
123 views

How to tunnel Java GUI and other traffic through a VPN/PuTTY? (SSH encryption)

I want to use a Java GUI application (Minecraft) through a VPN, since my parents firewall has blocked it, and I cannot login to the game launcher, because the application cannot connect to the ...
0
votes
1answer
784 views

Firefox - Java Platform plugin does not exist in the plugins

I have just installed the latest version of Java (1.80_60) on a fresh installed Windows 10. Java is not recognized by Firefox (which is up to date - version 41.0.1) despite it is installed properly. ...
0
votes
0answers
729 views

How can I run Minecraft through a proxy?

I have a socks proxy available on my local machine, which is set up using putty to SSH into a remote box I have access to. I want to run Minecraft using this proxy, as there are firewall rules in ...
1
vote
0answers
22 views

Java configuration windows 7

One of our users is getting a message about "security" that access to site was not allowed and suggested to add the site in the security tab of the configuration window for java on their computer. ...
0
votes
1answer
82 views

How to generate a keystore file for a Jetty server from PEM file?

I got a certificate.pem file from the CA, that have structure like below: -----BEGIN CERTIFICATE----- encrypted text of the public key -----END CERTIFICATE----- From this, we need to generate the ...