|
|
|
|
How do I start a JDIC based application from a _single_ jar?
Posted:
Jul 24, 2007 12:57 PM
|
|
|
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?
|
|
|
|
|
|
|
Re: How do I start a JDIC based application from a _single_ jar?
Posted:
Jul 28, 2007 12:54 PM
in response to: cpesch
|
|
|
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?
|
|
|
|
|
|
|
|
Re: How do I start a JDIC based application from a _single_ jar?
Posted:
Jul 30, 2007 5:33 AM
in response to: cpesch
|
|
|
It was not suggested to integrate JDIC to the single JAR.
Your suggestion is correct. -uta
|
|
|
|
|