This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Hard time making the SUN RMI tutorial example work  RSS feed

 
Esenih Camai
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am stucked at Starting up the server, I can't get the following to work.
java -Djava.rmi.server.codebase=file:/c:\home\ann\public_html\classes/
-Djava.rmi.server.hostname=zaphod.east.sun.com
-Djava.security.policy=java.policy
engine.ComputeEngine

I really do not understand how to set the codebase, hostname and policy properties.
Can someone help?
 
karl koch
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
in your bin directory of jdk you can find the policytool.exe
you can add permissions (if you dont know which and it's just for testing, then you can add allPermissions) to the JRE/LIB/SECURITY/java.policy file.
as codebase you can pick the location of the classes you run.
karl
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!