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
6 views

How can i run a previous project in netbeans

The problem is that when i want to open netbeans and select a old previous project which are show on the leftside of netbeans my new previous project are run
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 ...
0
votes
0answers
3 views

lower priority for Gradle/Android Studio builds?

When Android Studio builds my project, it easily eats up all my 8 cores. I'd like to be able to fluently browse the internet while my app is compiling. Is there a way I can set Gradle's java processes ...
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 ...
1
vote
2answers
62 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
10 views

Can't clear Apple Mac Dock Icon after Oracle SQL Developer App has closed

I just started experiencing a bug where the SQLDeveloper 4.1.3 (latest) app icon freezes in the mac OS dock. This prevents me from relaunching the app without a hard reboot of the computer. ...
0
votes
0answers
24 views

Java Will Not Install on Windows 8.1 64x

I removed Java to install an updated version (so I have installed Java before) but when I try to install the updated version, I receive a pop up (user control-are you sure you want to allow this?) ...
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 ...
0
votes
0answers
7 views

Tomcat filter against certain URLs

I'm deploying an application using Tomcat8 and I'm trying to apply some security restrictions. The restrictions are to deny all users some defined paths, for example: http://myapplication/page1 ...
0
votes
0answers
5 views

Why is the main method allowed to invoke non static methods in Java? [migrated]

So I've read about static methods and I read that static methods can only call or invoke static methods, so why can the main() method run non static methods? I'm talking about the: public static ...
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 effect....
0
votes
1answer
13 views

Can Wireshark decode Hessian-data?

We are debugging a problem with our application using tcpdump-captured data in Wireshark. Some of the data is in binary format (Hessian): Content-Type: x-application/hessian which is a pain to ...
-2
votes
0answers
19 views

Unable to launch KVM console for JAVA security

I have provided the exception to the JAVA security tab and also set the security level to 'High' from 'Very High', but still I am unable to load a KVM console and getting the error below. Please help
0
votes
0answers
11 views

Prevent Matlab from creating java.log.* files in the home directory?

I've recently started using matlab. If started with the jvm, log files will be created in the home directory (a different one every time it starts up). Opening log file: /home/max/java.log.4363 ...
4
votes
7answers
15k views

Unable to install Android for Windows 7 because JDK is not found

I have JDK SE7u4 installed in windows 7. I tried to install Android on Windows 7 using the installer_r18-windows.exe but no avail. The setup window showed the message saying that the Java SE JDK not ...
-3
votes
0answers
11 views

Excel 2007 user warning when opening xls files with java code

The file you are trying to open,'', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you ...
0
votes
1answer
322 views

Error in starting NetBeans IDE.

I am using net beans 6.0.1. There is an error when starting it. Error is; A java.lang.IllegalArgumentException exception has occurred. Please report this at http://www.netbeans.org/community/...
1
vote
1answer
17 views

running java applet in firefox

I am trying to get a java applet running on firefox however I can not get firefox to recognize the java plugin. I have both 64bit versions of Java and firefox however the plugin will still not show ...
0
votes
0answers
18 views

Is it possible to search the web for a not qualitative web site [closed]

Is there a way to search around my working area for companies that not having a qualitative web site ? with an app? with something?
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
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 ...
0
votes
0answers
30 views

No jailbreak: SSH to iPhone 5s? [closed]

I found this jar, which can on the iPhone with A4 processor and lower go to RECOVERY MODE and SSH into iPhone. But, it is not compatible with iOS and iPhone 5s 10. You do not know a similar program, ...
0
votes
1answer
27 views

Java. How do I override initial arguments?

I am in a pickle with a java application. When It launches it uses -Xmx 256m and Xss 2m. I need to make it use more ram because it keeps crashing when running out of ram. So I use java -jar ...
1
vote
1answer
44 views

Error: Could not find or load main class with OpenJDK and Oracle Java on CentOS 7

On CentOS 7.2 Linux I have successfully downloaded and installed Oracle Java with: # rpm -Uvh jdk-8u91-linux-x64.rpm Also there is already OpenJDK installed: # rpm -qa | grep -i jdk java-1.8.0-...
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 ...
36
votes
3answers
6k views

Why is the Java plugin (JRE) disabled in Chrome?

Why is the Java plugin (JRE) is disabled in Chrome? It is some security concern? From official Java website: Chrome no longer supports NPAPI (technology required for Java applets) The Java plug-...
1
vote
0answers
19 views

Trying to access e-learning but getting error saying “Error initilializing communications with LMS”

Does anyone know how to solve this problem when accessing e-learning? I'm not sure if this is a Java related error. I've followed whatever the e-learning's instruction about this and I have ...
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
1answer
428 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 ...
6
votes
0answers
18 views

Why is Java disabled in Chrome? [duplicate]

Why is Java disabled in Chrome? Is it some security concern? From the official Java website: Chrome no longer supports NPAPI (technology required for Java applets) The Java plug-in for web ...
1
vote
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 ...
12
votes
3answers
10k 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
19 views

Eclipse does not find JDK or JRE

I am trying to install eclipse and Java on my computer. I installed both JDK 7u80 and JRE7u80 fine, and have downloaded eclipse, but when I run the eclipse application, it shows this error: A JRE or ...
10
votes
4answers
23k views

How do I run a JAR file without installing Java?

My question may seem odd but this is indeed what I need to do. For the first in the last (maybe) 10 years I have to run a JAR file in my computer. But I don't want to install 'the Java' (and all those ...
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
14 views

Java Program to split the array based on marks [migrated]

Create class Student with below attributes: rollNo Name Marks Create class StudentDemo with main method. Declare array of 5 student objects in main method. Initialize this array. Declare another ...
0
votes
0answers
10 views

Centos 7 java version upgrading issues

am planning to upgrade a server's java version but as i was scanning through mountains of articles i cannot find any article regarding points to take note when upgrading the java version. Currently, ...
0
votes
0answers
18 views

Fedora Alternatives and Java: Switching JAVA_HOME At Same Time?

I have to switch between 3 separate JDKs and understand the concepts of the alternatives system. However, when I switch from one to another, is there a way to automatically set JAVA_HOME to the new ...
9
votes
2answers
12k views

Is it safe to delete Java folders from C:\Users\(Username)\AppData\LocalLow\Sun\Java

I am using a Windows 7 64-bit PC. I have many folders in C:\Users\(Username)\AppData\LocalLow\Sun\Java with names of older Java versions like: jdk1.7.0_21_x64 jre1.7.0_45 jre1.7.0_25 These folders ...
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 ...
0
votes
0answers
27 views

Is there a way to have a Java installation with a different locale than my OS?

(I hope this is the correct place to ask my question.) Hello super users, I have a problem. I am using Windows 10 Home Single Language and I live in and bought my computer at Turkey, so the language ...
2
votes
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 ...
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 ...
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: http://www.oracle....
0
votes
0answers
7 views

Goal “install” of the Maven in Step of the my Continuous Integration doesn't work

I have a continuous integration by TeamCity and I have a step that call "maven install". The problem is that these step execute success (I don´t see any error messages in build log), but when I see ...
11
votes
2answers
9k views

Suppressing the “Picked up _JAVA_OPTIONS” message

I'm using _JAVA_OPTIONS to set some defaults for Java on RHEL. It works fine but now every time I start java I get the following message Picked up _JAVA_OPTIONS: -foo -bar -baz is it possible to ...
-1
votes
0answers
15 views

Find solution for Guacamole html5

I am using Guacamole (Web RDP client developped with angularjs) and I would like to pre fill the login field. i try so many think.but I can not find the proper solution for that. can you help me ...