Jump to content
Excelsior Forums
paulkenny

How do I specify the location of java system properties files

Recommended Posts

Hi,

When running my java app that has been compiled into a .exe using JET I get the following error:

  Warning: default mime table not found: .\lib\content-types.properties

I can get rid of this warning by copying the <JDK-INSTALL>\jre\lib\content-types.properties file from my JDK into a folder called lib in the folder I am running the exe from. However, this is not a good solution from me as I wish to run the application from other folders. I have tried creating a folder called lib relative to the location of the .exe itself but this does not fix the issue.

Is there a way of telling JET where to look for this file either by hardcoded or preferably relative to the exe's location?

  Cheers,

    Paul

Share this post


Link to post
Share on other sites

We suppose that you use Excelsior JET 4.0 with the default profile (Java SE 5.0_04)

It seems that the file

<JDK-INSTALL>\jre\lib\content-types.properties

was modified as compared to the default JDK installation.

Please check this by comparing file

? ?<JDK-INSTALL>\jre\lib\content-types.properties

with that of

? <JET Install>\profile1.5.0_04\xjre\lib\content-types.properties

and replace the properties in the JET installation.

It should help. Please let us know the result.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×