FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Integration
(Moderators: fry, REAS)
   Tips for Downloading the Java SDK and Signing Apps
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Tips for Downloading the Java SDK and Signing Apps  (Read 717 times)
madmerv
Guest
Email
Tips for Downloading the Java SDK and Signing Apps
« on: Dec 23rd, 2003, 4:33pm »

Be careful!  There are lots of different packagings available with Sun Java.  For web related content and client development, you may wish to examine J2SE;
 
To develop unrestricted "out of the sandbox" Java applets for the web, you will need to sign the jar file created by Proce55ing.  Signing is a way for Java to escape its normal restrictions.
 
Java is a development language that works on a large number of platforms and due to its relatively low-level nature, it is possible to develop programs of malicious intent with Java.   To prevent legal issues, Java SDK comes with (hopefully, not in some versions) these two tools which "sign" the .jar file and release the applet from its coding sandbox.
 
keytool
jarsigner
 
The combination of these two tools provides you with access to otherwise restricted routines such as Net, file i/o and Security management.
 
To sign the jarfile, you will need to generate a KeyFile with keytool and then encode the .jar (sign it) using your key.
 
This is what makes "Grant/Deny" dialogues appear on web pages and is the key behind developing applications with more control than a simple sandboxed applet.
 
madmerv
Guest
Email
Re: Tips for Downloading the Java SDK and Signing
« Reply #1 on: Dec 27th, 2003, 2:18pm »

From my explorations into this problem, J2SDK 1.4.2 does not offer a jarsigner applet for windows.
 
One wonders, do you have to pay for this?
 
"Rumor has it" that J2SDK 1.2 does.
 
Will get back to you.
 
SunnyIslandBoy

leiakira
Re: Tips for Downloading the Java SDK and Signing
« Reply #2 on: Dec 8th, 2004, 10:56pm »

I think this might answer some problems I am experiencing while making this program with JAIM (Java AIM) protocol. Can anyone elborate further on this or point me to some place where I can get the information on getting applets signed? Thank you!!!
 
fjen

WWW
Re: Tips for Downloading the Java SDK and Signing
« Reply #3 on: Dec 8th, 2004, 11:22pm »

have a look here (Reply #4):
http://processing.org/discourse/yabb/board_Contributions_Beyond__action_display_num_1102415302.html
 
/F
 
SunnyIslandBoy

leiakira
Re: Tips for Downloading the Java SDK and Signing
« Reply #4 on: Dec 12th, 2004, 7:21am »

That was really helpful! Now that I overcome 1 of my many problems, I am more motivated to work. Thank you very much!!!
 
Pages: 1 

« Previous topic | Next topic »