The Source for Java Technology Collaboration

Home » java.net Forums » Java Desktop Technologies » JDIC

Thread: How do I start a JDIC based application from a _single_ jar?

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
This question is not answered. Helpful answers available: 2. Correct answers available: 1.

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 2 - Last Post: Jul 30, 2007 5:33 AM by: uta Threads: [ Previous | Next ]
cpesch

Posts: 5
How do I start a JDIC based application from a _single_ jar?
Posted: Jul 24, 2007 12:57 PM
 
  Click to reply to this thread Reply

I am currently providing my application RouteConverter (http://www.routeconverter.de) in a single jar, which makes deployment and installation for the users pretty easy.

To display Google Maps, I'm experimenting with embedding a webbrowser which looks very promising, but...

I only found a very clumsy way for jdic.dll and IeEmbed.exe: Extracting them to the directory where the RouteConverter.jar is located.

Besides patching the JdicManager and WebBrowser classes - is there a more elegant way?

cpesch

Posts: 5
Re: How do I start a JDIC based application from a _single_ jar?
Posted: Jul 28, 2007 12:54 PM   in response to: cpesch
 
  Click to reply to this thread Reply

Btw, I've solved the problem by patching InitUtility and JdicManager to use a class of mine that extracts jdic.dll and IeEmbed.exe from the jar to the temp directory.

Affected are the line 34 of InitUtility and line 118-127 of JdicManager.

I wish there'd be a simpler solution.

Ultimately, WebBrowser.java should be part of a next Java version. What do you think?

uta

Posts: 90
Re: How do I start a JDIC based application from a _single_ jar?
Posted: Jul 30, 2007 5:33 AM   in response to: cpesch
 
  Click to reply to this thread Reply

It was not suggested to integrate JDIC to the single JAR.

Your suggestion is correct.
-uta




 XML java.net RSS