Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Starting local server problem -Rmi

Posts: 201
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Trying to run this code:

Here is the command output all files on A drive.

I want this program to run on the localhost to test





A:\>rmic AccountImpl

A:\>start rmiregisty
The system cannot find the file rmiregisty.

A:\>start rmiregistry

A:\>java AccountServer
access denied ( connect,resolve)

A:\>java AccountServer
access denied ( connect,resolve)

A:\>java AccountClient 1000 900
access denied ( connect,resolve)

A:\>start java AccountServer localhost

A:\>start java\policy AccountServer localhost

A:\>java -Djava.rmi.server.codebase=file:/..\..\ -
rity.policy AccountServer
Unrecognized option: -
Could not create the Java virtual machine.

A:\>start java\policy AccountServer localhos\t\

A:\>java -Djava.rmi.server.codebase=file:/..\..\
ity.policy AccountServer
access denied ( connect,resolve)


Any help to get the Server to run correctly on local machine...


LOOK! OVER THERE! (yoink) your tiny ad is now my tiny ad.
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic