HELP (about running RLVizApp)

32 views
Skip to first unread message

Qing Da

unread,
Jun 20, 2012, 11:12:21 AM6/20/12
to rl-li...@googlegroups.com
Hi, all
     Sorry to bother you, but I really need your help about running the RLVizApp program. 
     I did the exact procedures following http://library.rl-community.org/wiki/Graphical_Experiments_RL_Viz_Tutorial, and had put the MountainCar.jar and RandomAgent.jar into the 'products' directory,  but when I executed 'bash run.bash'  (ubuntu 12, openjdk 7), I met those exceptions:

Exception when trying to look up values from the manifest of Jar which created class: class org.rlcommunity.rlviz.agentshell.AgentShell
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:131)
at java.util.jar.JarFile.<init>(JarFile.java:150)
at java.util.jar.JarFile.<init>(JarFile.java:114)
at rlVizLib.rlVizCore.getRLVizSpecVersionOfClassWhenCompiled(Unknown Source)
at org.rlcommunity.rlviz.agentshell.AgentShell.<clinit>(Unknown Source)


Exception when trying to look up values from the manifest of Jar which created class: class org.rlcommunity.rlviz.agentshell.AgentShell
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:131)
at java.util.jar.JarFile.<init>(JarFile.java:150)
at java.util.jar.JarFile.<init>(JarFile.java:114)
at rlVizLib.rlVizCore.getRLVizSpecVersionOfClassWhenCompiled(Unknown Source)
at org.rlcommunity.rlviz.agentshell.AgentShell.<clinit>(Unknown Source)

     I didn't changed any code, and couldn't figure out why this happened. I have no idea what to do next and I hope I can getyour help. Thanks!


Qing Da

W Bradley Knox

unread,
Jun 20, 2012, 1:24:54 PM6/20/12
to rl-li...@googlegroups.com
Qing,

I'm not familiar with your specific problem, but here's a quick thing
to try. I've attached a quick installation script that I've used for
my own installations on multiple computers. In my experience, all you
have to do is

1) run the script in [installation_directory],
2) add "[installation_directory]/rlglue-3.04/java-codec/JavaRLGlueCodec.jar"
to your Java classpath,
3) and execute "bash run.bash" in
"[installation_directory]/rlglue-3.04/rl-library/SampleExperimentRLVizApp-Java-R1207".

If you try it out, I'd do so in a different directory than the one
your current installation is in.

Best of luck,
Brad
> --
> You received this message because you are subscribed to the Google Groups
> "rl-library" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rl-library/-/QxgseZIZ2skJ.
> To post to this group, send email to rl-li...@googlegroups.com.
> To unsubscribe from this group, send email to
> rl-library+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rl-library?hl=en.
installRLViz.bash

Qing Da

unread,
Jun 21, 2012, 1:35:14 AM6/21/12
to rl-li...@googlegroups.com
Brad,
       It works very well! Thanks a lot!

regards,
Qing

2012/6/21 W Bradley Knox <brad...@cs.utexas.edu>

W Bradley Knox

unread,
Jun 21, 2012, 1:15:37 PM6/21/12
to rl-li...@googlegroups.com
Good to hear!

Sent from my iPhone

W Bradley Knox

unread,
Jun 28, 2012, 3:53:39 PM6/28/12
to rl-li...@googlegroups.com
I should add that the script basically just follows the instructions
from the RL-Library download website. For example, you can see the
commands for Mountain Car here:
http://code.google.com/p/rl-library/wiki/MountainCarJava. To add
domains/agents to the script, just pattern-match.

Brad
Reply all
Reply to author
Forward
0 new messages