• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Win32 exe wrappers for .jar or .class files

 
Nart
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi...
i'm trying to implement a program that wraps an executable .jar file or a number of .class files, as an Win32 PE exe file. Some commercial versions of software already do this: NativeJ, exe4J, etc... I'm not tryin to COMPILE into exe's just wrap .jar's as exe's
I'm wonderin, what exactly do i need to know to accomplish this. I'm reading now about JNI, read about Win32 PE file structures and headers. The idea i came with, is to like ship a tiny exe with my application, that i kind of like 'inject' a .jar file in it, and have the tiny exe call the JVM on the enclosed jar at runtime. The 'injected' exe would then be the application.
if anyone has any ideas on how to go about doing this, please fill me in.
 
John Lee
Ranch Hand
Posts: 2545
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi:
please refer to:
java application as a service;
Installation of JDK 1.2 for Visual Cafe;
October 2002 Java News
 
Joel McNary
Bartender
Posts: 1840
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Would a Batch file suit your needs? It seems to me that that is all that you are requiring
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic