I think it would help a lot of people out if the instructions on running the profiler were updated. Here is what I had to do to get the program running under WINNT:
Installation:
1) Download JDK 1.4X and install it
2) Set environment variable JAVA_HOME to the installation directory. This is done under win2K by Start Menu->Settings->Control Panel->System->Advanced->Environment Variables->New
3) Download JTreeProfiler and unzip it to a directory (C:\jprofiler-1.1.1 below)
4) Download ANT from http://ant.jarkarta.com and install it
5) Open a command prompt (Start->Run->CMD) and change the directory to the JTreeProfiler directory (cd \jprofiler-1.1.1 for example)
6) run command: ant
How to Profile:
A) Regular program
1) Open a command prompt (Start->Run->CMD) and change the directory to your program location
2) run command: %JAVA_HOME%\bin\java -Xrunjprofiler -cp "C:\jprofiler-1.1.1" your.class.here arg0 arg1 arg2...
B) Local Applet:
%JAVA_HOME%\bin\java -Xrunjprofiler -cp "C:\jprofiler-1.1.1" sun.applet.AppletViewer file:///"C:\your\directory\here\your.applet.file.here.html"
C) Remote Applet:
%JAVA_HOME%\bin\java -Xrunjprofiler -cp "C:\jprofiler-1.1.1" sun.applet.AppletViewer http://your.url.here
How to view the profile:
1) Open a command prompt (Start->Run->CMD) and change the directory to the JTreeProfiler directory (cd \jprofiler-1.1.1 for example)
2) ant show
Hope this helps anyone who was struggling like I was.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think it would help a lot of people out if the instructions on running the profiler were updated. Here is what I had to do to get the program running under WINNT:
Installation:
1) Download JDK 1.4X and install it
2) Set environment variable JAVA_HOME to the installation directory. This is done under win2K by Start Menu->Settings->Control Panel->System->Advanced->Environment Variables->New
3) Download JTreeProfiler and unzip it to a directory (C:\jprofiler-1.1.1 below)
4) Download ANT from http://ant.jarkarta.com and install it
5) Open a command prompt (Start->Run->CMD) and change the directory to the JTreeProfiler directory (cd \jprofiler-1.1.1 for example)
6) run command: ant
How to Profile:
A) Regular program
1) Open a command prompt (Start->Run->CMD) and change the directory to your program location
2) run command: %JAVA_HOME%\bin\java -Xrunjprofiler -cp "C:\jprofiler-1.1.1" your.class.here arg0 arg1 arg2...
B) Local Applet:
%JAVA_HOME%\bin\java -Xrunjprofiler -cp "C:\jprofiler-1.1.1" sun.applet.AppletViewer file:///"C:\your\directory\here\your.applet.file.here.html"
C) Remote Applet:
%JAVA_HOME%\bin\java -Xrunjprofiler -cp "C:\jprofiler-1.1.1" sun.applet.AppletViewer http://your.url.here
How to view the profile:
1) Open a command prompt (Start->Run->CMD) and change the directory to the JTreeProfiler directory (cd \jprofiler-1.1.1 for example)
2) ant show
Hope this helps anyone who was struggling like I was.
Real url is:
http://jakarta.apache.org/ant/