IMHO!!! If a class file can be converted to java file easily and can be viewed by users and also using them in their program without the rights of the original author what security does java provide for developers for their efforts and time putin to create a code??.

Any comments
Srini

Paresh Gheewala wrote:

Yes the solution is there Mr Srinivas

if your class file is
paresh.class
then you can generate equivalent paresh.java file with following command

>javap paresh
here don't write .class as extension.
the file should be in class path

Note : it will generate some junks in it
for example :
my
paresh.java is
public class paresh
{
}
then i comple it by
java paresh.java
now I ren paresh.java by paresh1.java
and
>javap paresh
(here paresh.class is used)

then it will generate
public class paresh extends java.lang.Object
{
 public paresh();
}

don't worry about the junks
that's it you have got it.

I think you should be clear.
 

even you can not understand you can mail
[EMAIL PROTECTED]
S/W Engineer (R&D)
Versaware Technologies Pvt (I) Ltd.
Pune, India.
-----------------------------------------------------------------------------------------------------------
Srinivas_Kondamudi wrote:

 

Is there any tool in this world which Generates Java Code from it's .class file.

forgive me if i am silly

srinivas

--
 

  ------------E-Card For Paresh M Gheewala----------------
  [EMAIL PROTECTED] / Software Engineer ( R & D )
  [ Versaware Technologies (I) Pvt. Ltd. ]
  'E' Building, Liberty, North Main Road,
  Koregoan Park Pune -1 ( Maharastra ) - 411001. India.
  Ph : +91-020-4355284 (R - Pune)
       +91-0261-420668 (R - Surat)
       +91-020-636028 (O)
  Visit : http://www.versaware.com
  ---------------T h a n k   Y o u -----------------------
 

--
Srinivasan
Software Engineer
Apcosoft Infoway Private Limited,
Bangalore - 560 068.
Work : 911-080-5536073 xtn:233

"U have a penny i have penny, we exchange each have 1 penny"
"U have a picture i have a picture, we exchange each still have 1 picture"
"U have a Idea i have a Idea we exchange we have 2 IDEAS now"
"The best way to live is to SHARE UR KNOWLEDGE!!!"
 

Reply via email to