Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-17-2008, 10:14 AM
Member
 
Join Date: Mar 2008
Posts: 3
marmara95 is on a distinguished road
converting jar to .class or .java
is it possible converting jar to .class or .java? can anyone help me about this please?
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-17-2008, 01:04 PM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 2,875
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga

First of all, welcome to Java Forum community.

Yes you can. Used winrar and extract your jar file. You can get collection of class files.

If you want to take Java files, use a decompiler to do it.

By the way, why do you want to do this....

Eranga.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
(Close on September 4, 2008)

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 03-17-2008, 02:21 PM
Member
 
Join Date: Mar 2008
Posts: 3
marmara95 is on a distinguished road
thank you for your cooperation
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 03-19-2008, 07:59 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 2,875
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Is that work? Did you get Java files using decompiler?
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
(Close on September 4, 2008)

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 03-19-2008, 03:01 PM
Member
 
Join Date: Mar 2008
Posts: 3
Rajesh is on a distinguished road
go to command prompt


Now check with src.jar file which is by default present in all jdks
After doing this you can able to see folder with same name as jar
file and navigate through folder you can able to see list of .java and .class files. Simillarly you can derive lot of .class and .java from jar.


c:\>cd jdk1.6\bin

c:\jdk1.6\bin> jar -xvf src.jar


or use Winrar or winzip software to extract .java and .class file from .jar file
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 03-21-2008, 10:54 AM
Member
 
Join Date: Mar 2008
Posts: 3
marmara95 is on a distinguished road
yes it works. thank you very much again i'm beginner so i understand step by step.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting an Array to a Vector Java Tip java.lang 0 04-14-2008 09:44 PM
Converting URL to URI Java Tip Java Tips 0 12-26-2007 11:15 AM
Converting String to Double srini New To Java 1 12-24-2007 09:03 PM
Converting text file(.txt) to JPG file(.jpg) in java javadeveloper Advanced Java 0 11-09-2007 05:22 PM
help with converting to JApplet Simmy AWT / Swing 2 08-09-2007 09:45 AM


All times are GMT +3. The time now is 02:13 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org