Note that there are some explanatory texts on larger screens.

plurals
  1. POjava: "Unable to access jarfile ..."
    primarykey
    data
    text
    <p>Newbee to java</p> <p>I have downloaded RoboMind (<a href="http://robomind.net" rel="nofollow">http://robomind.net</a>) and try to make it run on a Linux Mint12 Knowing that Min12 is not the newest release, I still would like it to run...</p> <p>When I use the .sh file that comes in the pack I get an error: "Unable to access jarfile ..."</p> <p>if I type the exact same command at the same prompt, in the same directory, it works: </p> <p>here is a copy paste from the commanline:</p> <blockquote> <blockquote> <p>magnus@martin-HP-625 ~/Downloads/RoboMind $ ./robomind.sh</p> <p>Unable to access jarfile RoboMind.jar</p> <p>magnus@martin-HP-625 ~/Downloads/RoboMind $ cat ./robomind.sh</p> <p>java -jar -Djava.ext.dirs=lib -Dsun.java2d.ddscale=true -Dsun.java2d.noddraw=true RoboMind.jar</p> <p>magnus@martin-HP-625 ~/Downloads/RoboMind $ java -jar -Djava.ext.dirs=lib -Dsun.java2d.ddscale=true -Dsun.java2d.noddraw=true RoboMind.jar</p> <pre><code>java.lang.reflect.InvocationTargetException at java.awt.EventQueue.invokeAndWait(EventQueue.java:1076) at java.awt.EventQueue.invokeAndWait(EventQueue.java:1053) at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1347) at robo.RoboMind.startGui(RoboMind.java:168) ... &lt;snip&gt; </code></pre> </blockquote> </blockquote> <p>Now it works ... ?</p> <p>Whats the difference? I messed around with javapath etc. as suggested in other posts, but nothing makes any difference to the situation illustrated above.</p> <p>Why can't the .sh script find the .jar file when the exact same command at the prompt have no problems?</p> <p>Best regards Martin</p>
    singulars
    1. This table or related slice is empty.
    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. 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