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.

javaw
Filter by
Sorted by
Tagged with
0 votes
0 answers
523 views

How to check if Jar is running on windows and run the logs?

I have a jar that I'm running on a windows server that I ran using java -jar filename.jar and i closed the terminal window. I then ran the other jar using the command javaw -jar filename.jar and ...
altontonie's user avatar
0 votes
1 answer
1k views

install java or just copy jdk file?

I am working on a windows 10 virtual machine which I want to run on it java application. when I tried to run it I get an error "Windows cannot find 'javaw'" since java is not installed. Now ...
ethicalhacker's user avatar
1 vote
1 answer
119 views

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's user avatar
  • 2,978
-1 votes
1 answer
32 views

C# How to enable exit event on a running javaw app

I am trying to create an external launcher for an app, which I recently noticed is running in Java.. I did not immediately noticed because the program has an .exe extension and I assumed it was an ...
Lethi's user avatar
  • 21
0 votes
1 answer
170 views

executable jar file doesnt run upon double click

so everything was fine like 2 to 3 weeks ago and suddenly my all my jar files couldnt be opened with double clicks I checked my registry but everything is normal associated .jar apps to run with javaw ...
Buğra Taşpınar's user avatar
0 votes
1 answer
319 views

Visual studio SOMETIMES loads symbols and sometimes does not

I am working on a code in c++. This code is compiled into a dll file which is loaded by a java application. When debugging, I normally run the application (from Eclipse) and attach to javaw.exe ...
KMot's user avatar
  • 487
2 votes
1 answer
361 views

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 ...
Lasse Klein's user avatar
0 votes
0 answers
377 views

Batch file to start new javaw process not working as expected

I'm new to writing Windows batch file. I have the following batch file to start a new javaw process and redirect the output of the commands in the batch file to a log file. @echo OFF call :sub >...
user2953113's user avatar
3 votes
0 answers
70 views

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 ...
Josep Pijuan's user avatar
1 vote
0 answers
558 views

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, ...
XiiDraco's user avatar
1 vote
0 answers
730 views

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 ...
Liam Mitchell's user avatar
-1 votes
1 answer
587 views

java.exe is faster than javaw.exe

I've made several java software's using hibernate + Mysql/Sqlite and I have noticed a significant difference in fetch time (from database) when using both launchers. When I start my application using ...
Mssm's user avatar
  • 737
1 vote
1 answer
1k views

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 ...
Jeetendra Ahuja's user avatar
0 votes
1 answer
541 views

Eclipse 4.7.3a and Java 10 Error: Could not find or load main class

I just installed a new Eclipse on my laptop with Windows 10 pro. Here is the Eclipse Version: Eclipse Java EE IDE for Web Developers. Version: Oxygen.3a Release (4.7.3a) Build id: 20180405-1200 My ...
EclipseS's user avatar
0 votes
2 answers
494 views

How does Eclipse capture stdout from a process started with javaw.exe?

Let's say you're running a simple HelloWorld program in Eclipse. The output of System.out.println("Hello, World!"); is clearly visible in the 'Console' tab. However, if you then open the 'Debug' ...
yashu's user avatar
  • 35
0 votes
1 answer
752 views

When launching Spring app (STS) with embedded Tomcat, both java.exe and javaw.exe processes are created on the same port

As the title says - when launching Spring app (STS) with embedded Tomcat, both java.exe and javaw.exe processes are created on the same port. That means I have troubles with busy port, even when ...
developer10's user avatar
  • 1,480
1 vote
1 answer
2k views

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 ...
bobasti's user avatar
  • 1,858
-1 votes
2 answers
2k views

terminated javaw error when running eclipse

im trying to connect to mysql database and manipulate the data in it but when i try to run my code it get the error, driver [java application] C:\program files\java\jre 1.8.0_111\bin\javaw.exe from ...
Eric Vuu's user avatar
0 votes
0 answers
994 views

can't debug code by eclipse by bug: terminated, exit values: 1 javaw.exe

I can't debug my Code on eclipse anymore. The termenating of the Code occurs during the two runs of my eclipse Code. I have no idea, why the process is terminated appers from one Moment to the next....
friedrich.schiller's user avatar
0 votes
1 answer
382 views

Why running .bat file thru Task Scheduler is not starting the .Jar file fully?

Here is what is going on. I have created a .Bat file containing start javaw -jar BTG_Producer.jar When I start this manually by double clicking it will show my java program in my system tray and shows ...
Ardel's user avatar
  • 165
0 votes
1 answer
2k views

Identifying the jar file association on Task Manager

I have a server which runs multiple jar file at the same time as of now. Currently we just make a bat file, call the java -jar xxxx.jar program, and the window is pop-ed up on the screen so we know ...
Chor Wai Chun's user avatar
0 votes
1 answer
1k views

How to kill javaw.exe in java at runtime

I have a java code that generates output file. When I want to delete this output file at runtime in this java code, it can not be deleted. For example: File file2= new File("D:\\eclipse-jee-mars-R-...
Gürkan Çatak's user avatar
0 votes
1 answer
175 views

java launch no console window in Windows 7

I've already seen this questions, but have no positive result: 1) Is there a way to the hide win32 launch console from a Java program (if possible without JNI) 2) Start a java program without the ...
pswrdf's user avatar
  • 95
2 votes
0 answers
332 views

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 ...
Dinesh's user avatar
  • 311
0 votes
2 answers
206 views

Close Child Java windows using C#

I have a java application running on Windows (javaw.exe) and I would like to close the child windows through a C# application. I can see the child windows through task manager under the Applications ...
gunslinger's user avatar
-1 votes
2 answers
773 views

Eclipse : JAVAW terminated

perhaps i misclicked something, and my java application won't run. i have made the following Login Form and press f12 to run my java application. import java.awt.*; import java.awt.event.ActionEvent; ...
Cignitor's user avatar
  • 1,031
1 vote
1 answer
53 views

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 ...
salidou's user avatar
  • 173
0 votes
1 answer
66 views

DatagramSocket doesn't work with java but works with javaw

I have an app that listens a UDP port. When I execute my app which is packaged in a JAR file with javaw -jar myjar.jar, it can receive packets. Strangely, if i execute it with java -jar myjar.jar, ...
Buddy's user avatar
  • 2,094
1 vote
1 answer
496 views

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 ...
overexchange's user avatar
  • 16.4k
0 votes
1 answer
420 views

Eclipse doesn't open because of javaw.exe Path error

While trying to run Eclipse, i get an error saying the javaw.exe is not found in the current path. I tried changing the path using configuration.ini file but doesn't work. Also tried reinstalling JDK ...
Jerry's user avatar
  • 1
1 vote
0 answers
775 views

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 ...
reddragon72's user avatar
0 votes
0 answers
50 views

Eclipse Juno with Android On AMD PC Hangs

I am facing a issue with my development environment i just format and setup windows 7 64 bi on my pc. I install JDK 7 64Bit (version 1.7.0_67 ) & JDK 6(version 1.6.0_27). Android SDK and Eclipse ...
RizN81's user avatar
  • 1,009
6 votes
3 answers
1k views

What Do The Ending Letters Mean - pythonw, javaw, javap, javac, etc

I just made a connection between python's: pythonw.exe and java's: javaw.exe and I'm curious about this as I cant figure out what some of those ending letters mean. I know that javac is the Java ...
kmecpp's user avatar
  • 2,449
-1 votes
1 answer
195 views

javaw keeps restoring itself

My javaw.exe process is infinitely restoring itself launching a windows error windows saying A Java Exception has ocurred I've tried taskkill, windows task manager and they keep coming back. How ...
Maslor's user avatar
  • 1,861
0 votes
0 answers
444 views

Trying to launch minecraft but getting "Open with" menu

I have been working on minecraft launcher for quite sometime now and I am starting to get a problem that I have never seen before. In earlier version of my launcher I was able to successfully launch ...
Jamriz21's user avatar
0 votes
1 answer
92 views

many connections from servlet to SQL server, which work together, cause javaw.exe to rise excessively

I have an android application which connects to a servlet (running by tomcat), and that servlet connects to a SQL server by a data source. Now, When we are talking about a single connection, by using:...
Eliran's user avatar
  • 59
2 votes
1 answer
3k views

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 ...
ruby student's user avatar
  • 1,089
-1 votes
1 answer
510 views

need help getting eclipse to work keep getting exit code = 13 [duplicate]

I've been hitting with this same problem for a while now. I thought I found the problem when my JDK was a 32 bit while my eclipse was a 64 but it doesn't seem to be the only problem. I tried to ...
dx3d's user avatar
  • 19
0 votes
1 answer
748 views

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 ...
Shubhangi Garg's user avatar
3 votes
1 answer
10k views

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 ...
Snowcrash's user avatar
  • 83.3k
-1 votes
1 answer
797 views

Java crashes when calling dll function using JNA

I'm using JNA to run a dll function: Here is all the code corresponding to that manner: The Native Declarations: //how the method declared H264_Login (char *sIP, unsigned short wPort, char *...
Muhammed Refaat's user avatar
0 votes
0 answers
604 views

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'...
Kanghoi Choi's user avatar
1 vote
1 answer
1k views

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 ...
Harshit shah's user avatar
1 vote
1 answer
2k views

open .Jar file with java and not javaw via Double Click

I have a .jar file that I would like to open via double clicking it and not the command line. When I double click it however it opens with Javaw.exe, I would like it to open with Java.exe when I ...
user3742362's user avatar
0 votes
1 answer
289 views

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 ...
Ian2thedv's user avatar
  • 2,691
5 votes
1 answer
7k views

Eclipse "javaw.exe" High CPU usage

I have standard Eclipse Kepler with CDT installed. Sometimes when it stays idle for a while the javaw.exe starts eating the CPU up to 30%. Nothing is running in Eclipse, no indexing, no library update,...
Mikael S.'s user avatar
  • 1,005
0 votes
1 answer
94 views

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 ...
user1837293's user avatar
  • 1,546
1 vote
1 answer
556 views

javaw.exe consumes memory on starting STS

At first I thought my program had memory leaks. But I terminated all java processes and restarted Spring Tools Suite. I kept an eye on the task manager. In just a few minutes, javaw.exe had grown ...
BoatCode's user avatar
  • 570
0 votes
1 answer
2k views

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, ...
Gyntheddyn's user avatar
0 votes
3 answers
229 views

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

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 ...
Kazizen's user avatar