• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

creating an exe file with jbuilder which doesn't need classes

 
mohsen fakhari
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I want to have a native executable that doesn't need any .class
file.Is it possible by jbuilder?

I've written a simple rmi project with jbuilder(mulitple versions
used) and then created a .exe file by native executable builder.I
selected all classes to be included.
But when I run it,there's a classNotFoundException on one of
classes:ServerImpl_Stub,not any other classes.
You know,it is a class created when you compile your rmi projects.Not
directly pair of one .java file.
What shoud I do to have a standalone exe which can be ran wherever it
is placed (of course with its .config file)

This is my s.config,however.
Any idea may help

vmparam -Djava.security.policy=file:.\rmi.policy
mainclass thefiles.ServerImpl
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic