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
2
votes
3 answers

Cannot find javaw on eclipse to run hello world

This is some strange and annoying issue i am facing . I was just going through some issue and decided to write simple program to solve it. It seems that eclipse cannot execute "hello world" and this is the error message I get Exception occurred…
Its not blank
  • 3,055
  • 22
  • 37
2
votes
0 answers

Why Javaw in Apache-Tomcat can only be stopped using taskkill /F

I am very new to this so please excuse me if what I am asking is obvious. From what I have read and observed on Windows java and javaw are identical except javaw runs without a console. Why is it then that javaw can only be terminated using taskkill…
Learner
  • 21
  • 2
2
votes
1 answer

Locate/Find .exe file (javaw.exe) then use elevate.exe and run jar

I tried to make the title as descriptive as possible, but im basically trying to locate javaw.exe because when I launch my JAR cmd only finds java.exe but the prompt window is ugly and I don't want it there. What works: java -jar myJar.jar What…
Alen
  • 145
  • 1
  • 1
  • 10
1
vote
3 answers

Javaw.exe - Approximately 60 Instances Running Simultaneously

Upon checking Task Manager (Windows 7), I have approximately 60 instances of javaw.exe running, ranging from approx. 1,000K - 450,000K. I am currently working on a large project, developing some software using Eclipse Helios. Can somebody explain…
Mus
  • 7,290
  • 24
  • 86
  • 130
1
vote
2 answers

When to use JDK to launch application (javaw.exe) and when to use JRE?

I am try to set java virtual machine path in eclipse and tomcat, and find out there is "javaw.exe" in both the JDK and JRE directories. Which "javaw.exe" should be used, and why?
user1056648
  • 193
  • 1
  • 1
  • 7
1
vote
1 answer

How to hide java console when running "firebase emulators:start"?

After I run the command firebase emulators:start, the java console pops up: How can I run the firebase emulators without showing the console? Is there a way to run the console in hidden mode?
yuval
  • 2,848
  • 4
  • 31
  • 51
1
vote
0 answers

Why is myProcess.getInputStream() working with java.exe but not javaw.exe?

I'm writing a wrapper for the command line based headless server of the game Factorio. I'm using a ProcessBuilder and getting the stdout of the server and am using the rcon connection (long story, stdin wasn't working) to communicate with it. I've…
XiiDraco
  • 11
  • 2
1
vote
0 answers

How to use Javaw on windows JNI error has occurred Intellij IDEA to run GUI without console window

So I have a jar file that has been built as an artifact from Intellij IDEA and I want to be able to run it with javaw so that the console is not visible. I think that this should work, but for some reason it spits out a JNI error. "C:\Program Files…
Liam Mitchell
  • 1,001
  • 13
  • 23
1
vote
1 answer

Wildcard in Jar name

I am running one jdk command in window batch file as: javaw -Xms256M -Xmx1024M -Dspring.profiles.active=local -Dport=9001 -jar C:\Users\sampleJAR\myProj-1.0.0.jar But, every 2 weeks we will have new version coming up and old jar will be replaced by…
Jeetendra Ahuja
  • 177
  • 2
  • 17
1
vote
1 answer

Unable to run .jar files by double-clicking them on Windows 7

Running a .jar file in the command line works fine, but I am unable to execute .jar files on my PC by double-clicking them. What is interesting, the same .jar files successfully execute on my laptop with a double-click. I included %JAVA_HOME\bin and…
bobasti
  • 1,778
  • 1
  • 20
  • 28
1
vote
1 answer

jbehave example table creates a javaw task and doesn't purge it

I am using an Example table in my Jbehave story, and I notice that after each run, a new Java process is created and has not been purged. In my Windows task manager, I can see a "javaw" task, with a memory of 1.4Mo. Because these tasks are not…
salidou
  • 173
  • 1
  • 6
1
vote
3 answers

NetBeans 6.9 and javaw.exe uses > 50% of CPU

When i work with NetBeans 6.9 for PHP the javaw.exe is occupying more then 50% of CPU and about 450mb ram (ram is not really the problem) but CPU tend to overheat. I had jdk6.5 for 64bit sys and now updated to latest jdk6.21 but it is the same, the…
Dr Casper Black
  • 7,350
  • 1
  • 26
  • 33
1
vote
1 answer

Tomcat6w.exe Vs javaw.exe - tomcat instance

Under service manager (services.msc) there is an executable tomcat6w.exe Each tomcat instance launched from eclipse IDE & services.msc is seen as executable javaw.exe Despite the tomcat instance is stopped from eclipse as well as under service mgr,…
overexchange
  • 15,768
  • 30
  • 152
  • 347
1
vote
0 answers

Javaw.exe cannot be selected in open as default

I am having the same issue as this person here. https://stackoverflow.com/questions/25691902/java-web-start-cannot-be-selected-as-default-program-on-windows-7 But I am having it with Javaw.exe I simply cannot select as an open with for jar files. I…
reddragon72
  • 191
  • 1
  • 3
  • 16
1
vote
1 answer

Javaw.exe running when starting eclipse

Whenever I launch eclipse, javaw.exe automatically starts and is displayed in the list of processes in the task manager. How does javaw.exe automatically start on launching eclipse? Can it be due to some virus or some configuration in eclipse is…