Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Edit: It looks like it is classpath related.</p> <p>I did get this to work (well, it popped up the GUI but then crashed pretty quickly). I used the classpath environment variable instead of <code>-cp</code>:</p> <pre><code>C:\cos126\dev\debug&gt;set CLASSPATH=%CLASSPATH%;c:\tmp\PDFRenderer-0.9.1.jar;c:\tmp\debug </code></pre> <p>So, not pretty, but then it did work. So it looks like the newly created VM doesn't automatically inherit <code>-cp</code>. I am optimistic, but not sure, that there might be an option you can change when starting the new VM to do this for you. To see the "documentation" for the VM launching options, you can add some code like</p> <pre><code>for (Map.Entry&lt;String, Connector.Argument&gt; arg : arguments.entrySet()) { System.out.println(arg.getValue().name()+" "+arg.getValue().description()); } </code></pre> <p>to Trace.java. When I do this, it prints out</p> <pre><code>home Home directory of the SDK or runtime environment used to launch the application options Launched VM options main Main class and arguments, or if -jar is an option, the main jar file and arguments suspend All threads will be suspended before execution of main quote Character used to combine space-delimited text into a single command line argument vmexec Name of the Java VM launcher </code></pre> <p>so maybe one of those is useful? Good luck!</p> <p>By the way, this is what I used JDI for:</p> <p><a href="http://cscircles.cemc.uwaterloo.ca/java-visualize/" rel="nofollow">http://cscircles.cemc.uwaterloo.ca/java-visualize/</a></p> <p>I am in the process of making the source shareable, if you want to see it (although I'm not 100% sure it will be of use).</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload