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

learn more… | top users | synonyms

3
votes
1answer
1k views

How to run Java in Notepad++ command window to accept input

I'm don't know how to use the command line with Notepad++ to accept input and display output.
3
votes
1answer
1k views

No sound from Java web applet

Using Google Chrome and Mozilla Firefox browsers on Ubuntu 9.10, I am unable to get any sound out from Java (version 6 update 15) on Runescape or WebSDR. I'm only interested in getting WebSDR working ...
3
votes
1answer
641 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 ...
3
votes
0answers
647 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 ...
3
votes
0answers
280 views

How can I get millisecond-level accuracy timestamps on screenshots (vlc)?

I'm currently using rt.exec("C:\\VLC\\vlc screen:// --dshow-vdev=screen-capture-recorder --dshow-fps=10 -I dummy --dummy-quiet --rate=1 --video-filter=scene --vout=dummy --scene-format=jpg ...
3
votes
1answer
698 views

How to use Java Plugin in Browser with JDK within Mountain Lion OSX?

I do not see any Java Preferences.app in my Utilities directory. I run a java -version in command line, there was nothing and prompted me to install version 1.6 from apple. It installs successfully. ...
3
votes
0answers
73 views

Puzzling apparition - RealPlayer rpchrome150browserrecordhelper.dll

I was trying to build and run an application I wrote a long time ago. It was not playing well with the new versions of the open source software it links to. At least two of the open source packages ...
3
votes
1answer
2k 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 ...
3
votes
2answers
13k views

Error: could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit

Pre-note: This is not a problem I am having with Minecraft. All answers I can find seem to be related to Minecraft. Error: could not create the Java Virtual Machine. Error: A fatal exception has ...
3
votes
3answers
2k 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 ...
2
votes
3answers
19k views

javac command not found

I am trying to compile a java program I found on the internet and it says that I must check if javac is installed. I installed the JDK a long time ago so it should be working but I get command not ...
2
votes
3answers
1k views

java -version doesn't write to stdout?

Either I'm doing something silly or Sun is. How come something like: java -version > version.txt Still prints out to stdout and leaves version.txt empty? I'm checking out the exit code, and it's ...
2
votes
3answers
24k views

Is jucheck.exe a virus?

I keep getting a message from Windows that a program jucheck.exe is trying to connect to the internet. The message shows the publisher of the program as 'Unknown'. Is it a Virus? How to remove this?
2
votes
4answers
2k views

What does “com.developer.application” mean?

I'm editing a plist file on my Mac for the QuickCursor app. I'd like to try to add Aquamacs to the list of available editing applications. In any case, all the other editors listed in the plist are ...
2
votes
4answers
8k views

xcopy Not Surpressing File/Directory Query

Hey folks, I'm attempting to use xcopy to copy over a file from one machine to another on our network as part of a Java program. I'm calling xcopy like this: xcopy "C:\Program Files\path\to\my\file" ...
2
votes
2answers
2k views

What version of java (if any) comes with Windows 7 default install?

What version of java (if any) comes with Windows 7 default install? Is java even installed by default in windows 7?
2
votes
2answers
405 views

Make file open with different program

I accidentally opened a Java file with Firefox and now I cannot change this... How can I make JCreator default again? Here is example of my problem:
2
votes
3answers
13k 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 ...
2
votes
2answers
382 views

Why is a desktop Java app using an old JRE?

In trying to comply with IT policy I've (I thought) removed all old versions of Java JREs and JDKs from OSX. java -version returns 1.7.0_51 and the Java Control Panel in System Settings also reports ...
2
votes
3answers
11k views

What is command to see all java versions installed on linux?

I know about java -version. I don't care what version I'm currently running. I care what other versions are installed on my linux box. If it's another java -* command I didn't see it in the java ...
2
votes
4answers
12k views

Cannot find JAVA_HOME!

Ive been following all the steps to set up java and its compilers and sutch, but i get to the step to change the route for JAVA_HOME where i go into enviroment variables and there is no JAVA_HOME, i ...
2
votes
2answers
176 views

can java applets take over your computer? [closed]

can it execute programs on my computer ?
2
votes
6answers
6k views

How to know if a site uses Java?

What is a quick method to know if a website uses Java (e.g. in a Java applet). One way would be to scan the source code of the page for clues, but I am looking for a quicker way. If possible, not a ...
2
votes
2answers
11k views

After Java update, Juniper VPN site is not recognizing that Java is installed

I am using Chrome with an updated Java (v. 10.51.2.13, SE7 U51). Before the updated Java, I was able to get on my job's VPN without any issues. Now, after logging in, I get this prompt: I clicked ...
2
votes
2answers
376 views

Why must you have administrative privileges to install java 2 sdk

I use several school computers, that have different operating systems. To make sure that I always have my tools available, I like to install a lot of programs to my "roving profile". This is possible ...
2
votes
3answers
10k views

where to get an IBM jre for 64-bit Windows?

I know this is stupid: I couldn't find anything from IBM website about where to download an IBM jre (specifically, IBM jre1.6.0 J9 2.4 SR6) for a 64-bit Windows OS. Google takes me to a link which ...
2
votes
2answers
72 views

Why would I not want to use Apple Java?

Being fairly new to the Mac platform, I was wondering why, when downloading Charles web debugging application, they would offer an alternative download if you do not want to use Apple Java? What ...
2
votes
3answers
924 views

Installation of Java is not working on Windows Server 2008 Itanium

When I try to install Java on Windows Server 2008, it gives me the error below. I tried to install JDK 1.5, JDK6 and JDK7 in both 32-bit and 64-bit versions. Error message: The version of the ...
2
votes
2answers
400 views

OSX - Update “Java for OS X 2012-002” is not mentioned on support.apple.com, is this ok?

Straight after installing "Java for OS X 2012-001" Software Update asks me to install "Java for OS X 2012-002", which has the exact same size (66.6 MB) and description (including the same two links: ...
2
votes
2answers
884 views

why can I invoke java from one user, but not root?

I think this sequence of commands explains my whole question: [Ramy@Moonface Downloads]$ java -version java version "1.6.0_22" Java(TM) SE Runtime Environment (build 1.6.0_22-b04) Java HotSpot(TM) ...
2
votes
1answer
90 views

Dynamic variable substitution in PATH

I want to run different versions of Java on the same machine (Linux Mint 17) with default to Java 7. So I put this into /etc/environment: JAVA_HOME="/tools/java/java7" JAVA7_HOME="/tools/java/java7" ...
2
votes
1answer
6k views

Is the Firefox browser 64-bit on Mac OS X or is the Java website inaccurate?

On the Java download page for Mac OS X, it says: Chrome does not support Java 7. Java 7 runs only on 64-bit browsers and Chrome is a 32-bit browser. If you download Java 7, you will not be ...
2
votes
3answers
6k views

Trouble setting up PATH for Java on Debian

I am trying to get Oracle Java 7 update 3 working correctly on Debian 6. I have downloaded and set up the files in /usr/java/jre1.7.0_03. I have also set the following two lines at the end of ...
2
votes
1answer
188 views

How to add esapi to ColdFusion 8

On https://github.com/damonmiller/esapi4cf there is a description of how to add the esapi jars to ColdFusion 9, but I'd like to know how to add them to ColdFusion 8. I but the esapi-2.0.1.jar in a ...
2
votes
2answers
2k views

Java Install Error 1723

I was working on a program in Eclipse. I went to run it, and ran into some 'unknown source' errors, so I tried to reinstall my java and ran into some annoying errors. First thing I ran into was an ...
2
votes
1answer
1k views

How to get along with Java updates (Windows)

We've learned how to disable automatic java updates, but whether we update Java manually or automatically, is there a way to make it less annoying? Personally, I wouldn't mind Java updating ...
2
votes
3answers
2k views

Cannot Install JDK

For the life of me, I can't install the JDK on Windows Vista. I keep getting the error, "This Software Has Already Been Installed on Your Computer. Would you like to reinstall it?" Problem is, it's ...
2
votes
1answer
1k views

Why isn't java8 in yum?

I have multiple dedicated boxes that execute java applications. I used to install java 7 from yum. I decided to upgrade to java 8. I have installed java 8 manually on a lot of boxes. I am curious to ...
2
votes
1answer
1k views

Upstart: unrecognized service (CentOS 6.4)

I have created an upstart service from this gist. I put it into: [andrey@vm01 ~]$ ll /etc/init/play.conf -rw-r--r--. 1 root root 1255 Dec 1 20:50 /etc/init/play.conf I also installed upstart, as ...
2
votes
2answers
8k views

How do I remove Java in Debian?

java -version java version "1.6.0_18" OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze2) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) There doesn't seem to be an easy ...
2
votes
1answer
3k views

Arbitrary code folding in Eclipse?

I know that we can fold methods,if statement and ... .But I want to fold arbitrary part of code that is written in a method.I guess that in NetBeans we can do this: // <editor-fold desc="describe ...
2
votes
1answer
94 views

How to make my java app run when run specific extension?

I want to make my program start when certain file extensions are opened. For example, when you click on a .zip file in Windows, Winzip starts up. How would I accomplish this?
2
votes
3answers
2k views

Why java -version returning a different version than the one defined in JAVA_HOME?

I am trying to set JAVA_HOME in Ubuntu OS. I have copied jdk 1.7 in /usr/lib/jvm and set JAVA_HOME in /etc/profile file. Contents of /usr/lib/jvm folder are as follows : shekhar@ubuntu:~$ ls ...
2
votes
1answer
660 views

How can I ensure I'm using JDK version 1.6?

Before I installed Java JDK1.6 on WinXP machine I typed from the CMD line c:\javac 'javac' is not recognized as internal command ... Here I concluded I did not have a JDK installation on my PC So, ...
2
votes
1answer
3k views

Can I run a 32bit Java app on a 64bit platform?

I have an old Java app which has been compiled for the 32bit platform. I've moved from Windows XP (32bit) to OS X Snow Leopard (64bit) and I'd like to continue using this app, however I'm getting an ...
2
votes
1answer
2k views

How to limit a Java process to a certain amount of RAM?

I am trying to limit Minecraft to a certain amount of memory. To that end, I start it from a batch file with the following line: javaw -Xms256M -Xmx256M -cp Minecraft.exe net.minecraft.LauncherFrame ...
2
votes
2answers
209 views

websvn garbles java source files

It appears to be attempting to interpolate Javadoc links into standard Java classes, among other things. The resultant output is fairly difficult to read. For instance, I am defining a Queue at one ...
2
votes
2answers
4k views

Removing all traces of GNU java and openjdk and replacing with Sun JDK

I have installed latest Sun JDk. But when I do: java -version I still got OpenJDK version. So I completely removed OpenJDK. But now when I do: java -version I get even older GNU java 1.5 ...
2
votes
2answers
942 views

unable to open excel sheet in linux

I am not able to open excel file which is generated from java web application in Linux. The file is opening in Windows but not in Linux. I am not using Open Office. I have two different applications ...
2
votes
1answer
11k views

Configure Ubuntu to run JAR file by double-clicking on it

In Windows, when I double-clicked on a JAR file it would run the encapsulated Java program. In Ubuntu, all I get is a list of files stored in the JAR file. Is there a way to configure Ubuntu to run ...