Widely-used object-oriented programming language, emphasizing portability.

learn more… | top users | synonyms

1
vote
1answer
62 views

Read Only Folders on Windows

I'm trying to mark a folder read-only using Java. The function call is setWritable(false). But, this doesn't disallow creation of a new file in that folder. I've read about this a lot and it turns out ...
3
votes
1answer
7k views

Running 32bit eclipse on 64bit windows

I am trying to use a 32bit installation of eclipse on my 64bit windows machine. I have eclipse extracted to my C: Drive and Java installed in ProgramFiles(x86) When I go to start eclipse I get the ...
1
vote
1answer
2k views

intelliJ not working on El capitan 10.11

I just installed the new OS El capitan 10.11 and discovered that intelliJ isn't working on it. When I launch it, I get this error: "This application requires the legacy Java SE 6 runtime which is ...
0
votes
1answer
48 views

How to execute a very long command line when launching a java program?

I need to start a java application with lot of additional libraries (libraries can be linked in runtime using -cp argument). When I paste this command line in command prompt, it says the command line ...
23
votes
4answers
61k views

Java Control Panel does not show Update tab on Windows 7 x64

I'm running Windows 7 Professional x64. I've installed JDK 1.6.0u25 in the 32-bit version first, and the 64-bit version on top. The Java Control Panel does not show anything about updates; I can't ...
1
vote
0answers
13 views

how to disable hotkeys in chromium

Everyone i am a system administrator in a company. I am making a package of chromium 39 portable and jportable to run a web application. I am looking for a way to disable right click, ctrl f4, ...
0
votes
1answer
180 views

Getting Exception: java.net.ConnectException: Connection refused when running Minecraft.jar on TAILS linux

I am running Tails from an USB stick (because hard drive is broken) and when I try to run Minecraft I keep getting the same error. Should I specify any parameter when calling Java? How do I solve ...
0
votes
0answers
136 views

Eclipse with XAMPP's MySQL and Tomcat

I want to create a Dynamic Web Project in Eclipse, but that option isn't available since Database and local server hasn't been configured. I downloaded XAMPP, how can I use the MySQL and Tomcat server ...
4
votes
2answers
2k views

Streaming Desktop using FFMPEG in windows

How to stream Desktop using FFMPEG in windows?? I have tried ffmpeg -list_devices true -f dshow -i dummy and after that this to stream ffmpeg -f dshow -i video="Chicony USB 2.0 Camera" -r 30 ...
0
votes
1answer
27 views

MYSQL Connector J in Ubuntu

I'm relatively new to Ubuntu and am developing an application using MySql Server. My question is, where do I put the file? I know in Windows the connector goes in the 'lib' file of the project. Does ...
1
vote
1answer
634 views

Can Not Start Glassfish 4.1 Server, Download, Unzip, Install, Windows 8.1

Before I start I wanted to say, I have to put a space in many of the links because I am new to superuser & have restrictions. You'll find the spaces http:// (HERE) localhost:4848/. I'm sorry for ...
0
votes
1answer
334 views

Accidentally associated .exe files with java.exe

I have downloaded a YawCam.exe program in order to take pictures with my webcam. After installation I clicked its icon to start then it opened 'Open With...' dialog to select which program to be ...
0
votes
1answer
328 views

Add Java exception for all users

I need to use an old Java applet for a certain website, but newer Java versions cannot run it, as it has a self-signed certificate. Reading on Oracle's Deployment Guide, I need to make my own ...
2
votes
2answers
49 views

Where do I put commands to run scripts?

I'm trying to run a few scripts (whether python, java, etc). The developers in their documentation give code for me to put in. Here are some examples: java -Xmx2g -jar muTect-XXXX-XX-XX.jar ...
0
votes
1answer
173 views

How can I increase the memory heap in pycharm

I am using pycharm and its memory shown at bottom right corner is 750M. I could not find any setting where I can increase that. Where do I increase that memory. I am using version 3.4. I searched a ...
1
vote
0answers
48 views

In Windows, what are the possible places the JVM might get the default time zone from?

I'm in a situation where I need to create a UAT environment which mirrors the production environment as closely as possible. I currently have a problem with a Java application using a different time ...
1
vote
2answers
56 views

apache-tomcat-8.0.22; Error occurred in initializing VM java.lang.NoClassDefFoundError : java/lang/Object

I have reinstalled JRE with latest version JRE1.8.0_45 . Whenever I try to run Tomcat :startup.bat this error occurs . Installation of JRE done with Oracle online installer and was perfect. ...
1
vote
1answer
37 views

Why do programs (JVM) crash while there is still plenty of available space in pagefile?

So, very simple question indeed. With my RAM-limited dev machine (8GB of RAM, Win 7 x64, 8GB of pagefile), when I run out of available RAM, programs first start to slow down, and eventually crash. ...
2
votes
1answer
138 views

How do I run a Java Applet when browsers don't support it anymore?

I am using the latest versions of Chrome, Chromium, and IceWeasel browsers on my Debian 7 system. During an experiment, I need to run old Java applets in browser. However, since the modern browsers ...
0
votes
1answer
114 views

IOS-server doesn't start

I'm trying to start ios-server in order to use selenium: java -jar ~/Downloads/ios-server-standalone-0.6.6-SNAPSHOT.jar -aut ~/Downloads/InternationalMountains.app -port 6666 But it doesn't start: ...
0
votes
0answers
43 views

Java 8 build 45 expired certificate

The Java cert on my old hardware (Dell DS2161-2) IS EXPIRED (last month) and Java is trolling me with "security". I've tried adding it and variations there of to the exception list, but that doesn't ...
1
vote
2answers
74 views

command line terminal in mac os x shows wrong version of Java

I have installed Java 1.7 on my mac at /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home In Command line I set the java version as export ...
0
votes
1answer
23 views

Headless install of Java Cryptography Extension (JCE) Unlimited Strength?

Is there a way to install Java Cryptography Extension (JCE) Unlimited Strength jars without having to download them manually and accept the terms and conditions? I would like to set this up on my ...
0
votes
2answers
116 views

Why is Java running on my PC when I never use it?

Java runs constantly. Is it needed? I did not install it. No one else uses my laptop; a Dell Inspiron N5010. I don’t do any Java programming. Don’t know how it got there; I believe that are versions 7 ...
0
votes
0answers
20 views

When opening enginesim, a command prompt flashes and goes away

When opening the turbo.class or turbo.java file for enginesim, found here, the command prompt flashes and then exits. Using the commands java -cp . turbo.class, java -cp . turbo.java, java ...
0
votes
0answers
98 views

Apache Spark building on Amazon EC2

I am currently building Apache Spark on Amazon EC2 linux VMs, following the instruction from spark.apache.org/docs/latest/building-spark.html. The tools I am using for the building: apache-maven: ...
0
votes
0answers
36 views

Setting Unlimited Strength Jurisdiction Policy Files for multiple versions of Java

I need to install the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files into the folder /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib/security/ ...
3
votes
1answer
973 views

Java Web Start seg faults when run with no arguments

We are using Java Web Start to run our java application from our webpage. When the jnlp link is clicked the jnlp is downloaded but nothing happens. No error, no popup, nothing. Running manually for ...
0
votes
1answer
86 views

How to make a java jar file to be a single file executable?

I have a jar file with a main class in it. The main class is already configured in the manifest file, meaning the jar can be executed in the following way: java -jar Main.jar I'd like to make it ...
2
votes
0answers
5k views

libXtst.so.6: cannot open shared object file: No such file or directory

UPDATE: after qsub many times I noticed that when the hostname is opt### it appears to work, but for other nodes in which the hostname is of different topology int###, it does not. I've discussed ...
2
votes
2answers
3k views

MATLAB is not working because of Java

I use Windows 7 x64. I have installed MATLAB 2010a to my computer. After running only the splash screen shows up for a while then program quits. I have found an error log and the first lines of the ...
0
votes
1answer
38 views

Java Applet getting blacked out (on VM?)

We have a piece of software that runs (exclusively... I don't know why) in Internet Explorer. This software makes use of several Java Applets (JRE 1.6) to provide additional functionality. I have ...
0
votes
0answers
231 views

Does a Java plugin for Chrome exists that does not use NPAPI?

This is my follow-up question to "Java plugin doesn't work in Chrome — how can I fix this?". Google writes that they will completely remove NPAPI support in Chrome 45. My question: Is there an ...
0
votes
1answer
141 views

Despite being able to run “javac” through the command line, “where javac” doesn't match anything. Why?

Here are both input/outputs: Running javac: D:\>javac Usage: javac <options> <source files> Running where on javac: D:\>where javac INFO: Could not find files for the given ...
0
votes
0answers
37 views

Why does my Java test suite hang the entire system

When I'm running my test suite for a new java application it hangs, which by itself isn't that unusual considering it's under development. The problem is that that causes the entire system to almost ...
1
vote
0answers
104 views

Aptana Studio 3: allow more than ~1300MB memory for JVM

Moved from Stack Overflow. I'm running Aptana Studio 3.6.1 on 64-bit Windows 7. Aptana site states that the IDE is compatible with 64-bit environments. When attempting to use a 64-bit Java version, ...
0
votes
0answers
42 views

Is there a way to run the runescape java client on a server and redirect the output?

Im not even really sure if i word the question correctly so i will just explain the situation in detail: So first I want to play runescape at work so i can level some skills AFK a little (work can be ...
3
votes
0answers
785 views

Build an Android Rom (Make Error 41)

I tried to build a custom Rom for Android 4.4.4. I use as base the Liquid Rom (Github Link) Before I build the rom, I had insertes in the local_manifests some apps to add to the ROM and before I did ...
0
votes
1answer
111 views

Unable to run Matlab on Ubuntu after fresh installation

specs: OS - Ubuntu 15.04 (64-bit) and Matlab - ver. R2013a (64-bit) I have successfully installed and activated Matlab. After trying to run it via terminal, it is showing error on the terminal. ...
0
votes
0answers
25 views

Upgrading Apache http server 2.0 directly to 2.4

I have gone through several suggestions online for upgrading Apache HTTP server 2.0 to 2.2 and then 2.2 to 2.4. But I want to somehow upgrade Apache HTTP server from 2.0 directly to 2.4. How it can be ...
11
votes
1answer
21k views

How to re-enable Java plugin on Google Chrome 42 on Windows [duplicate]

As stated in NPAPI deprecation: developer guide: In April 2015 (Chrome 42) NPAPI support will be disabled by default in Chrome and we will unpublish extensions requiring NPAPI plugins from the ...
78
votes
3answers
182k views

How do I get Java support on Google Chrome in Linux?

Is there a way to run Linux Google Chrome with Java support?
1
vote
2answers
1k views

Why won't Java 8 update 31 x64 work with Chrome 42.0.2288.6 dev x64 on OS X 10.9.5?

I've updated to Java 8 update 31 x64 on my OS X Mavericks (10.9.5) and now it will no longer work in my Chrome version 42.0.2288.6 dev. Why is this? It worked prior to updating. I've tried the Java ...
0
votes
0answers
90 views

Sequel::AdapterNotFound: LoadError: cannot load such file — java

I have installed jruby-1.7.16 using rvm and having java open jdk version 1.7.0_75. bundle install gets success below are the errors when I run the bundle exec rake db:migrate --trace ...
0
votes
0answers
85 views

Java app certificate Issue

I have an app called Tata Docomo Get.I downloaded it from the website on my java phone then Its showing no valid certificate.So I downloaded the app on pc I have two files of this app .jar and ...
1
vote
2answers
3k views

Java issue in Google Chrome

So I updated Java 7 Update 9 (Which was working fine) to Java 7 Update 10, and now I can't use Java in my Google Chrome browser, I get the error message "Java(TM) is required to view some elements on ...
2
votes
2answers
1k views

List processes being run inside a screen (Linux) session

I have several screen sessions, each one of them is running one java application. For example, I have these 3 screen sessions : 7361.ARM48 (Detached) 7397.ROP90 (Detached) ...
15
votes
1answer
37k views

How to force Java to use IPv4 instead IPv6?

My Java browser plug-in is no longer working. When I open a page that has a Java element, Java cannot connect to the server. After investigation, I found that Java was trying to use IPv6, while my ...
2
votes
1answer
38 views

Unable to see menus and numbers in Java-based programs

I have noticed that in MarvinSketch and Jmol, which are both Java-based chemistry programs, that the File menu (including the drop-down menu and the menu names), save file window, and all other ...
1
vote
2answers
159 views

Why is oracle-java8-installer pkgrepo.managed failing in saltstack

I have been using salt for a while, and I've recently had a problem setting up oracle-java8-installer in one of my files. Here is my init.sls file. oracle-java8-installer: pkgrepo.managed: - ...