Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-28-2008, 11:56 PM   PM User | #1
Mihai
Regular Coder

 
Mihai's Avatar
 
Join Date: Jan 2008
Posts: 122
Thanks: 14
Thanked 0 Times in 0 Posts
Mihai is an unknown quantity at this point
Question jar and jad

i know that i can use winrar to "decompile" and "zip" back the jar and i know that the jad is kind of description of the content of jad ( info file ? ) , anyway, my question is after i recompile the jar and set the size of jar in jad and upload it to my webserver how come it is saving as a zip from there to the phone ? Is ther a trick ? do i miss something ?

Thank you
Mihai is offline   Reply With Quote
Old 07-29-2008, 02:41 PM   PM User | #2
ess
Regular Coder

 
Join Date: Oct 2006
Location: United Kingdom
Posts: 865
Thanks: 7
Thanked 29 Times in 28 Posts
ess will become famous soon enough
JAR files are almost identical to ZIP files...but you should always use java -jar command to create jar files.

Here is a tutorial on how to create JAR files
http://java.sun.com/docs/books/tutor...jar/build.html

As for creating JAD files, I would suggest that you use JADMaker available at
http://www.download.com/JADMaker/300...-10725641.html

Cheers
~E
ess is offline   Reply With Quote
Old 07-29-2008, 10:59 PM   PM User | #3
Mihai
Regular Coder

 
Mihai's Avatar
 
Join Date: Jan 2008
Posts: 122
Thanks: 14
Thanked 0 Times in 0 Posts
Mihai is an unknown quantity at this point
my jad is sending me to my jar file in a zip format , is this because in my httpd file i did not put :
AddType text/vnd.sun.j2me.app-descriptor .jad

AddType application/java-archive .jar
? or because it is not compiled good after i open it in winrar explorer without extracting?
Mihai is offline   Reply With Quote
Old 08-15-2008, 04:05 AM   PM User | #4
boy
New to the CF scene

 
Join Date: Aug 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
boy is an unknown quantity at this point
hello everyone ! i'm new commer
boy is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:54 PM.


Advertisement
Log in to turn off these ads.