Set IDEA_JDK variable, but still does not start 3326
I've set IDEA_JDK environment variable to the java sdk directory as outlined in the installation note, but when running idea.bat, the command prompt window briefly opens up and closes, and nothing happens. Is there something else that I need to do?
Please sign in to leave a comment.
Start idea.bat from within an already opened command window. This way
the window stays open and you'll probably see what's going wrong.
Lim Park wrote:
--
Martin Fuhrer
Fuhrer Engineering AG
http://www.fuhrer.com
Ok. following is the message i get:
, ...] Option Description ------------------ ---------------------------------------- sampling startup with CPU sampling tracing startup with CPU tracing alloc startup with object allocation recording onexit=cpu capture CPU snapshot on exit onexit=memory capture memory snapshot on exit onexit=both capture both CPU and memory snapshots on exit port=value port to listen on (1-65535, by default any free port is chosen) dir= directory where snapshots are created (by default user home) quiet suppress diagnostic messages Detailed description of parameters can be found at \docs\index.html Examples: java -Xrunyjpagent FooClass java -Xrunyjpagent:onexit=memory,dir=c:\MySnapshots FooClass ]]>
Do I need to make any other changes to the idea.bat?
Add double quotes around the %%i in the idea.bat - you can compare it
with the idea.bat of 3316.
btw - search in google about this and you'll find Max has answered this
somewhere else...
Lim Park wrote:
>Ok. following is the message i get:
>
>YourKit Java Profiler 4.0.3 cannot start: unknown option 'port' > >YourKit Java Profiler 4.0.3 agent usage: -Xrunyjpagent[:help]|[:, ...] > >Option Description >------------------ ---------------------------------------- >sampling startup with CPU sampling >tracing startup with CPU tracing >alloc startup with object allocation recording >onexit=cpu capture CPU snapshot on exit >onexit=memory capture memory snapshot on exit >onexit=both capture both CPU and memory snapshots on exit >port=value port to listen on (1-65535, by default any free port is chosen) >dir= directory where snapshots are created (by default user home) >quiet suppress diagnostic messages > >Detailed description of parameters can be found at \docs\index.html > >Examples: >java -Xrunyjpagent FooClass >java -Xrunyjpagent:onexit=memory,dir=c:\MySnapshots FooClass >]]>
>
>
>Do I need to make any other changes to the idea.bat?
>
Easiest - go to file idea.exe.vmoptions open it and delete last
ine: -Xrunyjpagent:port=10100
Alex Oscherov
"Lim Park" <no_mail@jetbrains.com> wrote in message
news:12305831.1115792423867.JavaMail.itn@is.intellij.net...
>
>
>