Skip to main content

All Questions

0 votes
1 answer
2k 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 ...
Tomáš Zato's user avatar
  • 4,524
1 vote
1 answer
3k views

Accidentally associated .exe files with java.exe [duplicate]

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 ...
Özkan ÖZLÜ's user avatar
0 votes
0 answers
109 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 turbo.java,...
Hellreaver's user avatar
-2 votes
1 answer
2k views

Prevent - "java" is not recognized as an internal or extenal command

The "java is not recognized as an internal or extenal command." is a fairly common problem. Note that I am not looking for a solution to this. If someone came here for such a solution, it can be found ...
SonneRevsson's user avatar
0 votes
1 answer
2k views

How to access Java JARs through CLASSPATH environment variable on Windows 7

I know there is this article on JAR files on Linux but the solution involves some Linux specific commands I don't know, and ultimately I'd like to understand if I can access my JAR (and JARs it ...
kilgoretrout's user avatar
1 vote
2 answers
28k views

Disable Java version out of date prompt

We are running IE9 and Java 1.7 Update 51 (WIN7) in our environment and I am having a heck of a time getting rid of the following popup. Since update 55 was released, users get the following prompt ...
Paul Mung's user avatar
  • 179
1 vote
1 answer
1k views

writing a batch file: having a batch insert a command into another cmd-based program

i'm trying to have my batch open another cmd based program, wait some time, then input some commands into the cmd-based program, but can't find any documentation on how to do it. this is the batch ...
kelik's user avatar
  • 13
1 vote
2 answers
1k views

Windows 7 - 64bit OS - Opens java.exe always in a separate command prompt

Upgraded my windows 7 from 32 bit to 64 bit. Installed Java 6 (64 bit) and 7 (64 bit) version. Whenever i execute "java" in a command prompt, it opens a new command prompt and execute it. Even if i ...
yottabrain's user avatar
11 votes
2 answers
107k views

Where is java jre path specified in Windows 7?

I have java installed including jre 6 and 7 on Windows 7 64-bit. When I type java -version at the command line I get: C:\>java -version java version "1.6.0_22" Java(TM) SE Runtime Environment (...
User's user avatar
  • 3,757
3 votes
3 answers
1k views

Disassociate file with cmd.exe

I recently chose cmd.exe as a default program for .jar files with instant regret. How do I associate this back again with javaw.exe in the JRE? The default program check box is disabled, so selecting ...
braedy.'s user avatar
  • 33