JDK Troubleshooting

========== Troubleshooting ==========

In the project: JourneymanSoftware.cmd file try changing

java -jar JourneymanSoftware.jar

to

java -cp JourneymanSoftware com.journey.life.desktop.JourneymanSoftware

The update will read the library files bundled in the binary jar file without having to extract the files using jar xvf JourneymanSoftware.jar

JMX Port

jconsole apache.server:8086

JAVA_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8086 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false

JAVA_OPTS=-Dcom.sun.management.jmx.remote

-Dcom.sun.management.jmxremote.port=8086 -Dcom.sun.management.jmx.remote.ssl=false -Dcom.sun.management.jmx.remote.authenticate=false

Java Profiling and Monitoring

JDK Profiling and Monitoring Tools

java -Dcom.sun.management.jmxremote -jar JourneymanSoftware.jar

java -Dcom.sun.management.jmxremote.port=3000 -jar JourneymanSoftware.jar

jconsole

Java Process Id

jpg -l

jconsole 3068

Java Memory Leaks

JDK Profiling and Monitoring Tools

jmap -histo 1060

jmap -dump:file-dump.bin 1060

jhat -J-Xmx384m dump.bin

Eclipse Profiling and Monitoring

Test and Performance Tools

install TPTP on eclipse using the remote update site

Help | Software Update | Find and Install

Europa Discovery Site

Testing and Performance

Test and Performance Tools

eclipse.exe -vm “C:\Program Files\Java\jdk1.5.0_10\jre\javaw.exe” -vmargs -Xmx512M