Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > jad error decompiling 1.5 code

Reply
Thread Tools

jad error decompiling 1.5 code

 
 
grasp06110@yahoo.com
Guest
Posts: n/a
 
      12-09-2006
Happy Friday Everybody!


/* * * a little background * * */
I am trying to decompile some legacy code I have inherited. Only the
..class files are in production. I have (most of) the source but there
is some confusion of exactly what versions of various copies of the
source are in production. The .class files in production have been
modified as recently as today using Java 1.5 and go back several years
and Java 1.3. I would like to decompile the production source,
recompile it and then compare the .class files from that little
exercise to the .class files generated from the source under the same
conditions.

/* * * the problem * * */
When I try to decompile the production source files I get errors
similar to the following:

Parsing classes/com\myCompany\automation/MyClass.class...The class file
version
is 49.0 (only 45.3, 46.0 and 47.0 are supported)

Does anyone know what might be causing this?

Does Jad (or Jode or any other decompiler) support Java 1.5?

Any help would be greatly appreciated.

Thanks,
John

 
Reply With Quote
 
 
 
 
grasp06110@yahoo.com
Guest
Posts: n/a
 
      12-09-2006
Sorry,

I forgot to mention, I'm using Jad version 1.5.8 (I'm not sure what
letter, I'll try the latest and see if that helps).

Thanks,
John

 
Reply With Quote
 
 
 
 
Daniel Dyer
Guest
Posts: n/a
 
      12-09-2006
On Sat, 09 Dec 2006 00:12:46 -0000, <> wrote:

> Happy Friday Everybody!
>
>
> /* * * a little background * * */
> I am trying to decompile some legacy code I have inherited. Only the
> .class files are in production. I have (most of) the source but there
> is some confusion of exactly what versions of various copies of the
> source are in production. The .class files in production have been
> modified as recently as today using Java 1.5 and go back several years
> and Java 1.3. I would like to decompile the production source,
> recompile it and then compare the .class files from that little
> exercise to the .class files generated from the source under the same
> conditions.
>
> /* * * the problem * * */
> When I try to decompile the production source files I get errors
> similar to the following:
>
> Parsing classes/com\myCompany\automation/MyClass.class...The class file
> version
> is 49.0 (only 45.3, 46.0 and 47.0 are supported)
>
> Does anyone know what might be causing this?
>
> Does Jad (or Jode or any other decompiler) support Java 1.5?


Class file format 49.0 is Java 5.0. Looks like JAD doesn't support
anything after 1.4.

Dan.


--
Daniel Dyer
http://www.uncommons.org
 
Reply With Quote
 
Chris Uppal
Guest
Posts: n/a
 
      12-09-2006
wrote:

> I forgot to mention, I'm using Jad version 1.5.8 (I'm not sure what
> letter, I'll try the latest and see if that helps).


It should. Version 1.5.8f (which I use) has no special trouble with
1.5-compiled files (it doesn't always succeed in producing valid Java, of
course, but it is happy to make the attempt). Apparently the latest version is
1.5.8g, but I haven't tried that yet.

-- chris



 
Reply With Quote
 
Aleksander Zawitkowski
Guest
Posts: n/a
 
      12-29-2006
I confirm this:
The first version of Jad to decompile Java 1.5 code is 1.5.8f. Jad
1.5.8e doesn't.


Unfortunately, the latest binaries available for Linux are 1.5.8e, but I
did successfully run 1.5.8f Windows binaries with Wine 0.9.21. I just
had to run dos2unix command on generated files afterwards.


Alex.
--
http://olek.sdf-eu.org/devel/java/


Chris Uppal wrote:
> wrote:
>
>> I forgot to mention, I'm using Jad version 1.5.8 (I'm not sure what
>> letter, I'll try the latest and see if that helps).

>
> It should. Version 1.5.8f (which I use) has no special trouble with
> 1.5-compiled files (it doesn't always succeed in producing valid Java, of
> course, but it is happy to make the attempt). Apparently the latest version is
> 1.5.8g, but I haven't tried that yet.
>
> -- chris
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Protecting the .NET Source Code by Decompiling, Obfuscationusing Dotfuscator Dutt ASP .Net 1 02-08-2008 02:52 PM
Decompiling Obfuscated code... Ramesh Java 2 05-05-2007 07:48 AM
decompiling class, jar & native executables? Sue Java 1 06-07-2005 03:14 PM
Troll Alert: Decompiling a Visual C++ Application E. Robert Tisdale C++ 2 06-23-2003 09:18 PM
Re: Decompiling a Visual C++ Application Shane McDaniel C++ 0 06-23-2003 08:55 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57