Archive | JBuilder RSS feed for this section

Jbuilder and ILOG Jlmdeploy

9 Aug

I was getting the error: "ILOG deployer error: ZIP file must have a least one entry" when i tried to run jlmdeploy on a jar.

Jlmdeploy is ILOG's program to sign jar's for distribution.

This was a Jbuilder specific problem.

JBuilder for some reasons adds a couple of files to a jar when it builds an archive : It adds META-INF/SUN_MICR.RSA and META-INF/SUN_MICR.SF which are some sort of signature for applets.

 To fix I simply created those files under src/META-INF as empty files. 

Advertisements

Signing Jars

2 Aug

You need to sign jar’s for Web Start to work:

See: http://www.autexier.de/jmau/dev/webstart/

Step 2: sign the jar file
You must sign the jar file in order that people can verify it’s origin (an decide if they trust the application or not). The JDK contains a tool which allows signing of jar file with a certificate. If you don’t have your own certificate, you can use the tool also to build one.

Create new certificate:

keytool -genkey -keystore yourKeystore -alias YourName

You will be prompted several questions. At the end, your personal certificate will be in your keystore “yourKeystore”. You can check it by calling

keytool -list -keystore yourKeystore

Now you can sign the jar file:

jarsigner -keystore yourKeystore test.jar YourName

That’s it. The jar file includes know your signature and people can decide if they trust it.

Jbuilder – Subversion

21 Jul

To import a project from Subversion.

Go to File->New->Project->Pull Project from Subversion

server url: “http://linus.imvs.sa.gov.au/repos/qc”
-> then click the ‘browse’ (…) button below