Questions tagged [javaw]

The javaw tool launches a Java application. It does this by starting a Java runtime environment, loading a specified class, and invoking that class's main method.

The javaw command is identical to java, except that with javaw there is no associated console window. Use javaw when you don't want a command prompt window to appear. The javaw launcher will, however, display a dialog box with error information if a launch fails for some reason.

98 questions
0
votes
1 answer

Running sqldeveloper is throwing error "cannot find javaw.exe"

I installed sqldeveloper zip file in my system (windows 7)/. As soon as I clicked on sqldeveloper.exe, its throwing error "Windows cannot find C:/Program Files(x86)/Java/ jre1.8.0_31/bin/javaw.exe" I dont understand why its giving error which has…
Shubhangi Garg
  • 109
  • 5
  • 17
0
votes
0 answers

how can I run javaw in windows XP cmd?

I made a program using JAVA. I export the java project as runnable jar file. I tested it in Windows 7 32bit. It runs perfectly. However, when I tested it in windows xp 32bit(I'm not sure about it's SP version. maybe SP2 or SP3) It shows error…
Kanghoi Choi
  • 69
  • 11
0
votes
1 answer

NSIS Setting javaw class path for MUI_FINISHPAGE_RUN

I have created an installer with NSIS for my java app, which works fine. I wanted to add the run option tick box at the end of the installer. The app is launched with a .bat file. After a few googles a added this to my NSIS script: !define…
Ian2thedv
  • 2,691
  • 2
  • 26
  • 47
0
votes
1 answer

eclipse java application program won't run - unverified user

I get the following error when launching (Run > Run configurations > Java application) a java application called 'Simulator': Launching Simulator has encountered a problem. Exception occurred executing command line. In the details of the error…
user1837293
  • 1,466
  • 3
  • 16
  • 30
0
votes
1 answer

Recycle javaw.exe memory without killing the process

We have an application which we cannot change (we did not develop it). Thw applicationon Windows Server 2008 64bit runs a javaw.exe process that takes over time 9 GB of memory. We would like to know, if there is a possibility to recycle the process…
0
votes
3 answers

How do I stop a second instance of my application from executing if one is already running in JAVA?

When I run my application using the .jar file, the GUI is displayed and javaw.exe shows up in System Processes in the task manager. But when I run the .jar file again without closing the first one, a second javaw.exe process starts and a second GUI…
0
votes
1 answer

PHP exec() hangs when starting javaw.exe

I have a php script that I want to use to start my solr jetty server. Something like this: chdir("C:/solr-4.4.0/solr-4.4.0/example/"); echo getcwd(); exec("javaw -jar start.jar > output.log 2>&1 &"); echo 'done'; The problem is that if javaw.exe is…
A.O.
  • 3,733
  • 6
  • 30
  • 49
0
votes
1 answer

Console window with javaw?

I have created a console based jar program. To be able to run it with jarfile.jar or by clicking on it, I went into the registry editor and edited HKEY_CLASSES_ROOT > jarfile > shell > open > command > (Default) from [...]javaw.exe[...] to…
H.v.M.
  • 1,348
  • 3
  • 16
  • 42
0
votes
1 answer

"Couldn't find the main class" on HelloWorld

I started with Java yesterday. I installed Eclipse, JDK and JRE and I did the HelloWorld tutorial. I followed the tutorial and it runs correctly on Eclipse. Now I want to transform it on a runnable .jar file, so I go to Export, i create it, and it…
Melecio
  • 1
  • 1
  • 5
0
votes
2 answers

Both javaw.exe *32 and javaw.exe runs in process manager

I am developing a portal based on Liferay and I use Eclipse as IDE. I am running a 64 bit windows 7 with 8gb RAM ddr2 and AMD Athlon II X2 255 3.10 GHz. My computers freezes some time when I run service builder or when I want to open an xml file in…
Babesh Florin
  • 226
  • 1
  • 11
0
votes
0 answers

Maven: setup Maven to use javaw instead of java (running from Jenkins)

I need to setup Maven (clean and as Jenkins task) to use javaw instead of java. I do not find such setup option. I see only path to jre. Could you please help me with the setup? Thanks In Advance!
zubactik
  • 1,297
  • 3
  • 19
  • 34
0
votes
1 answer

How do launch jar through javaw.exe with dll

I try to execute a jar. java.exe is wrapper system dll files. so it can use native library. But javaw.exe is not wrapper system dll or path.. java -jar somejar.jar correctly works. But javaw -jar somejar.jar isn't working with dll library.. I must…
tae jun Kim
  • 176
  • 1
  • 1
  • 10
0
votes
1 answer

Eclipse crashing on Linux

Whenever I try to start Eclipse on Linux, it briefly opens up, then crashes with the following error: VM terminated. Exit…
Poosh
  • 532
  • 2
  • 10
  • 25
0
votes
1 answer

System.getProperty("os.name") returns "Windows XP" on a Windows Vista when using javaw.exe, but java.exe works

I have following problem: I want to get the OS name via System.getProperty("os.name") and System.getProperty("os.version") on a Windows Vista machine. I have checked the compatibility mode settings of the java executables. Java reports…
dominik
  • 151
  • 1
  • 2
  • 13
-1
votes
2 answers

Compilation Failure when running as Maven Package

I got this BUILD error when I run as Maven Package. But I'm not sure what's the error. Can anyone help? Thanks in advance. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO]…
Wallace
  • 293
  • 1
  • 9
  • 18