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
2answers
231 views

when i am using android studio getting this error “The environment variable JAVA_HOME does not point to valid jvm installation”

When I start Android Studio, I get this error: The environment variable JAVA_HOME does not point to a valid JVM installation. My JAVA_HOME environment variable is set to C:\Program ...
0
votes
1answer
13 views

How to associate file extension in Windows 10 to arbitrary command?

I would like to set FXML files opened with Gluon Scene Builder, which exists in the form of JAR file. So, in old good Windows I would associate these files with command like javaw -jar ...
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. ...
0
votes
0answers
9 views

Java in eclipse, powerpoint, windows

I have an animation I created in java code in eclipse. Is there any way to import this into my PowerPoint without downloading new software (I can't on my school computer) Thanks!
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
11 views

Batch File Property File String Search And Change the Value to user inputting value

I have a batch file to search a string in a property file and after finding the string, replacing its value to anew value...This script was working fine since last month.Now it is doesnot working in ...
8
votes
2answers
5k 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 ...
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 ...
1
vote
3answers
3k views

Running a Java process from Systemd

I'm trying to execute a shell script from systemd. The script runs fine from command line. The script (runServer.sh), runs up a Java process and looks like this: #!/bin/bash java -jar ...
2
votes
1answer
141 views

How to disable “Do you want to run this application?” popup for signed java app

I have a java scanning app run on my computer every day and every time it runs I'm getting this warning In more information: I've checked the certificate and the app is signed (Thawte is a root ...
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 ...
1
vote
1answer
12 views

Java GC Monitoring on Linux

On Windowssystems I use jvisualvm to monitor the GC activity of my programs. Are there any similar tools for linux to do so? I acces the server via putty (ssh), so graphical tools are not supported, ...
0
votes
3answers
3k views

How to pin an executable jar to start in Windows 10?

I tried creating a normal shortcut, and a javaw.exe shortcut, which creates the context menu option "Pin to Start", but that does nothing.
-1
votes
0answers
18 views

Need batch file to fulfil the below purpose- [closed]

Need batch file to fulfil the below purpose-..I have to filter some few specific extension (like .txt , .filename, .docx etc)and copy file from source(server) to destination(server). I am stuck on ...
1
vote
3answers
35k views

Changing default Java Runtime Environment from 1.8 to 1.7

I'm currently trying to change the default JRE on my computer from 8 to 7. I was attempting to fix a glitch involving the game Minecraft by updating to the JRE8 beta build, but it seems like that ...
0
votes
1answer
17 views

Why redirection operators from windows prompt create text ignoring line break? [duplicate]

I tried to output to a text file using redirection operators > and >> from a java class but it ignores line feed \n from java when the .txt file is opened with the Notepad from windows 10. ...
0
votes
1answer
19 views

Issue Installing java on windows 10

so i was installing java and my pc decided to shut off before it could finish, i don't have java anymore, and now when i try to open the installer it never opens, i have tried using CCleaner to clean ...
0
votes
1answer
54 views

Unable to Install JDK 1.8 64-bit on Windows 10

I have installed Windows 10 64 bit on my system, Now when i am trying to install JDK 1.8 64-bit, its giving me following error message. These are my system configurations I have successfully ...
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
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 ...
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.
0
votes
0answers
13 views

How to run CLI command “hangup request” with Java code [migrated]

I need run this with Java String command = "asterisk -rx \"hangup request ...\"" ; but i got return i such command '"hangup'. asterisk -rx "hangup request ..." okay when i type and run with ...
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 ...
0
votes
0answers
17 views

Java issues with printing applets

I am running Windows 7 Pro and Java 8.91(but this has occurred in earlier versions as well)... My question is that our users are having issues with a particular website that uses Java applets to ...
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 ...
1
vote
2answers
1k views

Content within this application coming from the website below is being blocked by Internet Explorer

I was trying to update my Java 8 to current version on a machine with Windows Server 2008R2, as my browser prompts that it's outdated. However, I can't seem to get past IE, which complains about ...
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
0answers
17 views

Minecraft craftbukkit.jar Could Not Reserve Enough Space for Object Heap

So I started running CraftBukkit servers on my computer years ago. Now when I started up my computer today and tried to run the servers, it wasn't working. It had worked a month ago or so, but now it ...
3
votes
1answer
3k views

Java applet needs permission but doesn't ask for it!

I'm trying to connect a VPN connection (on Mac OS X 10.6.6) through a Check point java applet. The first time it ran I chose NOT to give it access to my files and such and now every time I try to ...
0
votes
0answers
14 views

Software package fails installing because of permissions

I'm busy installing WS02 on Ubuntu 16.04 LTS Server edition, right now I am facing some problems regarding permissions I guess below is my terminal log. I checked the directory with $JAVA_HOME and ...
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 ...
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 ...
1
vote
0answers
27 views

Java runs in batch but not Powershell

I have a batch file that runs a jar with a few parameters, works fine: @echo off java -cp bulkconfig.020.0005.jar com.hospira.bulkconfig.LoadConfig %* I would like to add some more cababilities ...
0
votes
1answer
27 views

Using a particular version of java in a specific directory

My current default version of Java is 7 (which, for now, can't be updated - I know it's reached EOL), but also have Java 8 installed. However, I have some third party jars (all contained in a ...
1
vote
2answers
360 views

Control panel applet for Java is missing - How do I get it back?

Update: This is obviously not a duplicate of the issue where the Java applet is visible in the Control Panel for the simple reason that the applet in that question actually shows up in the control ...
0
votes
2answers
3k views

Configure Java 7 Firefox Plugin on 64-Bit Cent OS

I configured Java on my Cent OS 64-bit machine by running the following command yum install java-1.7.0-openjdk.x86_64 But I cannot find the "libnpjp2.so" file as mentioned here: ...
1
vote
1answer
756 views

Is it possible to turn on TLS 1.2 in .jnlp file?

is it possible to turn on TLS 1.2 in .jnlp file to download .jar from HTTPS server where only TLS 1.2 is set? I've tried in many ways: <resources> <j2se (...) /> <jar (...) ...
0
votes
1answer
106 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 ...
-1
votes
0answers
50 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 ...
-1
votes
0answers
44 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 ...
0
votes
2answers
34 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 ...
10
votes
6answers
43k views

MATLab crashes on launch OS X Yosemite

I've just installed the OS X Yosemite beta and can't open MATLab 2014a. It displays this error dialog: Does anyone have any ideas as to how this could be resolved?
0
votes
0answers
1k 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 ...
1
vote
0answers
237 views

How to improve font rendering in Jedit?

I have started using Jedit due to easy to set up custom language syntax and folding. It is looking good except the fact that the font rendering seems to be the worst among all the editors (at least on ...
1
vote
2answers
13k views

Upgrade to java 1.7 in eclipse on mac

I'm sort of a beginner with eclipse but I want to update the libraries or build path or whatever to java 1.7 from java 1.6 and I can't figure it out. I'm a computer science student at the university ...
14
votes
6answers
64k 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 ...
1
vote
3answers
594 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
18 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 ...