GeeCON Prague 2014*
The moose likes Java in General and the fly likes creating an exe file with jbuilder which doesn't need classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "creating an exe file with jbuilder which doesn Watch "creating an exe file with jbuilder which doesn New topic
Author

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

mohsen fakhari
Greenhorn

Joined: May 04, 2003
Posts: 25
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
 
GeeCON Prague 2014
 
subject: creating an exe file with jbuilder which doesn't need classes