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....
Please sign in to leave a comment.
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...
runner was :
>
>
%JDK_HOME%\bin\javaw.exe -client -Xverify:none -Doracle.j2ee.dont.use.memory
.archive=true -classpath %JDK_HOME%\jre\lib\charsets.jar
>
>
>
>
%JDK_HOME%\bin\java -client -Xverify:none -Doracle.j2ee.dont.use.memory.arch
ive=true -classpath %JDK_HOME%\jre\lib\charsets.jar
>
>
running/debugging my current projcet as i use oc4j.
>
of "java".
>
Do you if it possible to change this as i would like to continue running my project from within IDEA
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.
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...
>
>
"Alexey Efimov" <aefimov@spklabs.com> wrote in message
news:bm3rgi$sbi$1@is.intellij.net...
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.
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 :
#
HotSpot Virtual Machine Error, Internal Error
Please report this error at
http://java.sun.com/cgi-bin/bugreport.cgi
#
Java VM: Java HotSpot(TM) Client VM (1.4.1_03-b02 mixed mode)
#
Error ID: 43113F32554E54494D45110E4350500305
#
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.
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...
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.
>
getting this when i run java.exe :
>
>
getting this when i run java.exe :
That's why I was asking ;) There should be no difference.
>
It seems that there is though...
I have tried it, and seemigly this is not the case...can somebody from IntelliJ please help us on this one.