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
5
votes
4 answers

javaw.exe eating up my memory?

Recently, javaw.exe processes have been taking over my computer and forcing me to exit out Eclipse and other applications due to low memory errors. Note that I am not maxing out the system at all, and am I working on some basic java programs, and I…
AnchovyLegend
  • 12,139
  • 38
  • 147
  • 231
4
votes
1 answer

datanucleus enhancer & javaw: "the parameter is incorrect"

I'm on windows XP using eclipse and the datanucleus enhancer for a gwt + gae app. When I run the enhancer, I get an error: Error Thu Oct 21 16:33:57 CDT 2010 Cannot run program "C:\Program Files\Java\jdk1.6.0_18\bin\javaw.exe" (in directory…
Riley Lark
  • 20,660
  • 15
  • 80
  • 128
4
votes
3 answers

"javaw.exe" won't exit after System.exit(0)

I'm writing this Java program in which I have a JFrame and a Thread. Everything goes fine, except when I click the 'X' button to close the program, the program itself closes (frame and it's resources get destroyed), but the "javaw.exe" process won't…
Emil
  • 555
  • 3
  • 7
  • 16
3
votes
0 answers

Random unicode characters message error when executing Matlab function from jar

I'm trying to execute a matlab function in a Java project, from a jar compiled with MCR v95. However, when I try it from my java code (using eclipse IDE) suddenly an error window appear with some unicode caracters (chinese letters among them).…
3
votes
2 answers

Unable to run ANT target in eclipse getting terminated at beginning and pointing to jdk\bin\javaw.exe

I'm unable to run the ant target in eclipse environment. when i double click on the ant target, it terminating directly and nothing is shown in the console window. and I can see a message at the top of console window as " ProjectName build.xml…
Vishnu
  • 31
  • 1
  • 3
3
votes
1 answer

Location of javaw on the Mac

I have a shell script on the Mac which looks for javaw. i.e.: #!/bin/sh javaw -version 2> /dev/null if [ $? == 0 ]; then javaw -jar some.jar else echo "Java Runtime not installed or JRE executable not in PATH" fi but it gives this error when I…
Snowcrash
  • 80,579
  • 89
  • 266
  • 376
3
votes
1 answer

How to find my JavaFX application in process manager?

I have a JavaFX application that should check if it has already been launched when you launch it (need only single instance running at the time). The problem is how to define it! I have tried packing my JavaFX application into .exe file (or make an…
Chechulin
  • 2,426
  • 7
  • 28
  • 35
3
votes
2 answers

End javaw.exe process softly with taskkill

I encountered a problem closing my javaw.exe process. I like to do it in a soft way, so taskkill /F won't help. Trying to close the javaw by taskkill /PID will end up in an "SUCESS" message, but the process still keeps running. I'm using Windows XP…
2
votes
2 answers

Why is javaw.exe Randomly Disappearing?

I am having a ghost problem. I have included Java in my install package so that I don't have to rely on the user already having Java. The problem is that every now and then the javaw.exe disappears in my package! Upon double-clicking my…
Dorothy
  • 2,842
  • 10
  • 33
  • 46
2
votes
2 answers

Eclipse javaw.exe hanging at startup (49% cpu), regardless of task

It was hanging on refreshing workspacing, specifically refreshing files in /target/classes in a project. I renamed that folder and now it hanging on the next progress item: Initializing Java Tooling. I a unable to start elcipse. If clicking on…
MetaChrome
  • 3,210
  • 6
  • 31
  • 48
2
votes
1 answer

Python Tabula Script keeps opening Java.Exe window. How do I get it to use jawaw.exe instead?

I have made a python script that used tabula.read_pdf. After I convert it to an executable file, java.exe window keeps popping up when running tabula.read_pdf. Other threads indicate that I should use javaw.exe instead of java.exe. But how do I…
2
votes
0 answers

Java and Javaw differences

We are trying to run a application which is using SWT browser internally. In the SWT browser, we would like to revert all IE-based Browsers to use IE9 compatibility mode by default. This is done using System.setproperty method in the…
Dinesh
  • 311
  • 2
  • 12
2
votes
1 answer

Get initialization parameter from the web.xml file. in Eclipse and Tomcat

I am following this tutorial http://www.javatpoint.com/config-implicit-object This tutorial uses an file web.xml without a servelet and fill in the variables of the file "welcome.jsp" with the data of the file "web.xml" I put all files in the same…
ruby student
  • 1,059
  • 4
  • 12
  • 18
2
votes
1 answer

Invalid command do javaw in Eclipse?

Sorry for the ambiguous title, but I've literally no idea how to even name this behavior. When I try to compile any project in Eclipse, I get this in the console: Usage: javaw [-options] class [args...] (to execute a class) or javaw…
Michał Szydłowski
  • 3,261
  • 5
  • 33
  • 55
2
votes
4 answers

Oracle setup.exe space sensitivity when specifying jre absolute path

I am currently setting up Oracle Enterprise edition for my computer. That means I use the Oracle Universal Installer to launch the program. When I launch the setup.exe file from my computer and give the specified arguments: setup.exe -jreLoc…
applecrusher
  • 5,508
  • 5
  • 39
  • 89