Skip to main content

please give me a minimal jdic jar for cross platform open(File) and browse

3 replies [Last post]
anilp1
Offline
Joined: 2006-03-20

My app is 340Kb and distributed via Java Web Start.
It is important that it be lightweight. However, I notice the cross platform
JDIC download is 1.2Mb! This is too heavy.
Can you please give me a minimal cross platform jar that will open(File)
and browse(url)?
My app.is here. Any suggestions or help to improve it are welcome go to http://juwo.com
thanks,
Anil

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kirillcool
Offline
Joined: 2004-11-17

I doubt that anyone will spend time crafting a special version of JDIC that suits these exact requirements. You'll either have to do it yourself or accept the price of the size.

anilp1
Offline
Joined: 2006-03-20

Perhaps I miscommunicated. I am not asking for someone to craft me a special jar.
I can run jar -cvf jdic.jar jar* if someone will tell me what jar* is for a basic JDIC cross platform open() and browse().

Being in the USA, we tend to forget what it is like in other parts of the world.
A large part of the world is on slow dialup; even in the USA, 40% of the population is on dialup.
Hence it is too much for an end user to download 1.2Mb of one jar alone - let alone the Java JRE which is several Mb. Not counting other jars my app may need.
So it may be good for the Java managers to have a basic JDIC crossplatform download, and then extra functionality, separately.

I notice in the Java docs, java.awt.jdic has open() and browse(). Is it automatically bundled with JRE 1.6. and is it cross platform?
thanks,
Anil

kirillcool
Offline
Joined: 2004-11-17

> I can run jar -cvf jdic.jar jar* if someone will tell
> me what jar* is for a basic JDIC cross platform
> open() and browse().

You can look at the sources of the java side and the native side and start experimenting. I wouldn't hold my hopes too high and wait for somebody to post the list of classes / c files that match your specific requirements.