• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic