Running external processes in the runner...

Running external processes using the runner. Before build 896 the default runner was :

%JDK_HOME%\bin\javaw.exe -client -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true -classpath %JDK_HOME%\jre\lib\charsets.jar


while on the from build 896 to now it runs

%JDK_HOME%\bin\java -client -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true -classpath %JDK_HOME%\jre\lib\charsets.jar


is the any reason for this change as it is hampering me running my running/debugging my current projcet as i use oc4j.

If the is no reason how would be able to change it to run "javaw" instead of "java".

thank you....help will be greatly appreciated....

9 comments
Comment actions Permalink

Indeed, java.exe is used to get ctrl-break working.
When debugging however java.exe is supposed to be used.
Eugene.

"sipho" <no_mail@jetbrains.com> wrote in message
news:8164742.1065691633386.JavaMail.itn@is.intellij.net...

Running external processes using the runner. Before build 896 the default

runner was :
>
>
%JDK_HOME%\bin\javaw.exe -client -Xverify:none -Doracle.j2ee.dont.use.memory
.archive=true -classpath %JDK_HOME%\jre\lib\charsets.jar
>
>

while on the from build 896 to now it runs

>
>
%JDK_HOME%\bin\java -client -Xverify:none -Doracle.j2ee.dont.use.memory.arch
ive=true -classpath %JDK_HOME%\jre\lib\charsets.jar
>
>

is the any reason for this change as it is hampering me running my

running/debugging my current projcet as i use oc4j.
>

If the is no reason how would be able to change it to run "javaw" instead

of "java".
>

thank you....help will be greatly appreciated....




0
Comment actions Permalink

Do you if it possible to change this as i would like to continue running my project from within IDEA

0
Comment actions Permalink

Jus't for curiosity, what's the difference between using java and javaw
(apart from the visible console) ? I thought they did exactly the same
thing.


0
Comment actions Permalink

I think java is console application, javaw is windows application. I don't
use unix for me, and not know about javaw on unix.
So then use java.exe, then you have stdout, stdin, strerr avaible. It not
avaible then you use javaw.

Thanks!

"Carlos Costa e Silva" <carlos@keysoft.pt> wrote in message
news:bm3r4l$nqr$1@is.intellij.net...

Jus't for curiosity, what's the difference between using java and javaw
(apart from the visible console) ? I thought they did exactly the same
thing.

>
>


0
Comment actions Permalink


"Alexey Efimov" <aefimov@spklabs.com> wrote in message
news:bm3rgi$sbi$1@is.intellij.net...

I think java is console application, javaw is windows application.


I meant the difference for him.

I don't see that running the external process under jave.exe makes any
difference (appart from the console) from running it under javaw.exe. Just
curious if anything more doesn't work or if it's just that sipho doesn't
like the console.


0
Comment actions Permalink

The difference for me as far as the console is concerned does not matter as i run this process from within IDEA by setting up a run item with the correct jvm parameters and server parameters in order for me to get the server started up. From there i am able to actully debug...my application.

If the is no real differense except fopr the console then why would i be getting this when i run java.exe :

#

  1. HotSpot Virtual Machine Error, Internal Error

  2. Please report this error at

  3. http://java.sun.com/cgi-bin/bugreport.cgi

#

  1. Java VM: Java HotSpot(TM) Client VM (1.4.1_03-b02 mixed mode)

#

  1. Error ID: 43113F32554E54494D45110E4350500305

#

  1. Problematic Thread: prio=5 tid=0x0003AB38 nid=0xae0 runnable

#
Process terminated with exit code 1

while when running javaw.exe it works with no problems.

0
Comment actions Permalink

Though this is obviously not an IDEA bug, you may try to delete breakgen.dll
and presumably javaw.exe will be used....

"sipho" <no_mail@jetbrains.com> wrote in message
news:678620.1065779215788.JavaMail.itn@is.intellij.net...

The difference for me as far as the console is concerned does not matter

as i run this process from within IDEA by setting up a run item with the
correct jvm parameters and server parameters in order for me to get the
server started up. From there i am able to actully debug...my application.
>

If the is no real differense except fopr the console then why would i be

getting this when i run java.exe :
>

#

  1. HotSpot Virtual Machine Error, Internal Error

  2. Please report this error at

  3. http://java.sun.com/cgi-bin/bugreport.cgi

#

  1. Java VM: Java HotSpot(TM) Client VM (1.4.1_03-b02 mixed mode)

#

  1. Error ID: 43113F32554E54494D45110E4350500305

#

  1. Problematic Thread: prio=5 tid=0x0003AB38 nid=0xae0 runnable

#
Process terminated with exit code 1

>

while when running javaw.exe it works with no problems.



0
Comment actions Permalink

If the is no real differense except fopr the console then why would i be

getting this when i run java.exe :

That's why I was asking ;) There should be no difference.

  1. HotSpot Virtual Machine Error, Internal Error

Process terminated with exit code 1

>

while when running javaw.exe it works with no problems.


It seems that there is though...


0
Comment actions Permalink

I have tried it, and seemigly this is not the case...can somebody from IntelliJ please help us on this one.

0

Please sign in to leave a comment.