Tool for Reversing (.class to .java classes)
Can somebody tell me about an open soft tool for reverting code.
Thanks.
FS
java decompiler. Try google. There are dozens of them.
Similar Messages
-
Tools for reverse engineering an ERD from the database
We were thinking about using Visio as a tool for Reverse Engineering ERD's from our database. Unfortunately, we can't find any good training that goes over this part of the tool in detail.
So, then I started thinking, maybe it's not the best tool, then. Any suggestions on whether this is the tool, or if there's a better alternative?
Thanks
--=cfHi ,
The Oracle Designer contained in the Oracle Dev Suite 10g can accomplish your requirement...
Greetings.... -
Search for a wod in java classes in windows 7
Hello,
How to search for a specific word in a list of java classes in my windows directory? I know we can search in .java files but not sure how to do the search in .class files. Any help is really appreciated.
Thank You
-KKHi,
For searching in .class files, you need to decompile those using some decompiler.
1) You can use JAD (Java Decompiler) and decomplie using these commmands:
jad *.class
rename *.jad *.java
2) There is another decomplier, CAVAJ which is very user friendly. You just need to drag the class file onto this and it will show the java code for that class file.
--Sushant -
How to specify relative path for file name in java class
I have a directory structure like this.
C:\Aurora\com\optemys\aurora\validation
I have a class Test.java under the validation folder.
I have various files under the same folder i.e validation.
If I want to access the file "test.properties" in Test.java, how can I just specify "test.properties" & not "C:\Aurora\com\optemys\aurora\validation\test.properties".
I dont want to hardcode any file path into the class. How can I specify the relative file name into the class.
Thanks In Advance
Sachinswitch the name in Test.properties and use
this.getClass().getResourceAsStream(fileName) -
JavaDoc HTML link of classes in Java class diagram not correct
Hi,
I created a Java class diagram in a certain package (e.g. com.mycompany.p1) and placed some classes on this diagram from the same package and from other packages. Then I created JavaDocs. When I click on the classes in the created JavaDoc diagram, only the links of the classes in the same package as the diagram (com.mycompany.p1) wor correctly. When I click on a class outside this package I get an error message that the file is not found. It looks for the class documentation in the package of the diagram and this is obviousely wrong!
Is there a property I missed to set or is it a bug?
Thanks for help
ThomasHi Thomas,
I don't use the diagrammers much, so I cannot comment on this directly; however, based on your description, it does sound like a defect. Do you have access to Oracle Support to file an SR?
John -
CASE tools for reverse engineering
Hi there, I need a CASE tool for do reverse engineering to java code. Can somebody recommend me someone?
Regards.Do you mean a decompiler? There's jode, which I think is at sourceforge.
Do reverse engineering tools really come under the CASE rubric? -
A tool for editing javadoc in .java files
Hi
i am looking for a tool that can be use for editing the javadoc in the .java files. it should edit constructors, methods and fields.
if you know such tool please send me a link.
Regards
y.l.We list some standalone solutions on the Javadoc FAQ.
(I have not tried any of these)
http://java.sun.com/j2se/javadoc/faq/index.html#G
- Utility for writing doc comments: Doc+.
- Tool that simplifies the process of writing doc comments: DocWiz.
- Tool for generating formated Javadoc comments: CommentMaster.
- Tool for editing Javadoc comments using a word processor-like view: XMLmind XML Editor.
-Doug Kramer
Javadoc team -
Tools for extracting strings from java code for internationalization
For legacy code with lots and lots of strings what method is typically used to extract strings for internationalization?
Am I right in thinking you couldnt simply grep for strings, it could get pretty complitcated, especially with escape characters, escaped quotes etc.,
-SKWhen dealing with legacy code, it is nice to have an application that queries you as it extracts the strings. You have a choice whether to accept the string as a localizable entity or not.
There are several tools that do this...including some IDEs like JBuilder. Although it isn't a fully supported or robust tool, Sun has a utility for extracting strings in Java source files:
http://java.sun.com/products/jilkit/.
Regards,
John O'Conner -
Oracle DBA Tools for NW Systems ( ABAP +JAVA)
Hi,
We have installed PI/XI ( ABAP + JAVA). i have the following questions.
1)Like SE11, is any tool SAP supplies to maintain JAVA dictionary objects( belonging to SAPSR3DB)?.
2)Like ST05->Analysis of SQL statement, is any tool SAP supplies to get the explain plan for SQL statements related to SAPSR3DB tables?.
3)Apart from BR* tools and DBACOCKPIT, what are the SAP tools available for administrate Java(Oracle) dictionary objects?.
Thanks in advance.
Thanks.
Raj.Hello Raj,
1) No there isn't any tool like that as far as i know
2) You can perform a SQL trace with the OpenSQL monitor or the Wily Interscope agent (which i would recommend). After you have identified the expensive SQL statements you can perform an EXPLAIN PLAN in SQL*Plus or Oracle SQL Developer (free tool). The Java stack is not so comfortable as the ABAP stack in this area.
-> http://help.sap.com/saphelp_nw04/helpdata/en/24/d4ff0eccf33a49a5c26a280a119b14/content.htm
3) I don't know any ... in a Java Stack you need to know what you are doing.
Regards
Stefan -
Tools for GUI development in Java
hi,
Can anybody tell me which r the tools available for GUI development using java?which could be the bestTake care not to produce much source code! Use a suitable framework rather than a tool and save maintainability. E.g. http://www.must.de/cameleon.html
-
Mapping Generated JAXB Classes to JAVA Classes
Hi,
i�m writing a framework to allow building swing components from xml files. So i use JAXB to generate the stubs and then in
my JAVA app i do an unmarshal process to get the jaxb elements. Then i process all the elements in the jaxb tree and
i create the corresponding swing components (i.e. JPanel, GridLayout, JButton, JTextField, etc). This is very annoying,
since each component has different properties and this leads to many if statements which just make my code messy
and not reusable.
Could someone give me an advice of how i could make this solution more elegant?
Thanks for any ideas,
ChrisHi,
Can you please let me know if you found a solution? I have the same exact problem. I have pretty solid collection of similar questions in the NET, but not a single answer yet... Keep searching...
Thanks!
Rouben.
P.S can you please CC your answer to [email protected]? -
Tools for Security Audit of Java Applets in a Website
Hello,
I am auditing the Website which has a Java Applet attached to it, I wanted to know, what security tools should I use to check the security of Java Applets.
Thank youYou should also consider that applets are not allowed to access their client system's hardware without being signed; in other words, the user must agree (by clicking a button) to disable the applet security features. Why would you use an applet to do this? Applets are meant to be an extension of a website. You should use an application in this situation.
-
{@inheritDoc} not working for Java Classes
Hello,
i am using {@inheritDoc} for inherting super class's JavaDoc for a perticular function..
It is working, if super class is my own class. i am able to see all JavaDoc in child class.
But when i use {@inheritDoc} for extending JavaDoc of java class it is not working.
i.e. if i am writing {@inheritDoc} in public void actionPerformed(ActionEvent e) method..
It wont show any javadoc..
How to add it? Do i need to give source of java classes too???
And if it is Yes, then where to specifiy. and where to find source of Java classes, do they come with JDK? or NetBeans?? (If yes then where it is in JDK or Netbeans???)
Thanks,
Nachiket.Yes, you need to have the Java source, with the -sourcepath option, as described here:
Inheriting Comments from J2SE - Your code can also automatically inherit comments from interfaces and classes in the J2SE. You can do this by unzipping the src.zip file that ships with the SDK (it does not contain all source files, however), and add its path to -sourcepath. When javadoc runs on your code, it will load the doc comments from those source files as needed. For example, if a class in your code implements java.lang.Comparable, the compareTo(Object) method you implement will inherit the doc comment from java.lang.Comparable.
http://java.sun.com/j2se/javadoc/faq/#incrementalbuild
If you want the full Java source get it from here:
http://www.sun.com/software/communitysource/j2se/java2/index.xml
http://java.sun.com/j2se/javadoc/faq/#sourcecode
-Doug -
How can I either move or view the source of a JAVA CLASS user object?
I am using Oracle 8i and I have the following JAVA CLASS objects in my database. I need to move some of these objects to a different database.
1) How can I do this?
2) How can I view the JAVA source code since these are classes?
My knowledge of Oracle is limited. I have searched and searched and I can't find the answer. Any help would be greatly appreciated
SELECT object_name, object_type
FROM user_objects
WHERE object_type IN ('JAVA SOURCE', 'JAVA CLASS', 'JAVA RESOURCE')
ORDER BY object_type, object_name;
OBJECT_NAME OBJECT_TYPE
/d082321a_DpsJarStaticFilename JAVA CLASS
DirHelperStatic JAVA CLASS
DirHelperStatic$1 JAVA CLASS
DpsJar JAVA CLASS
DpsJarException JAVA CLASS
DpsJarStatic JAVA CLASS
FilenameFilterImpl JAVA CLASS
FtpClient JAVA CLASS
FtpClient$InputStreamProxy JAVA CLASS
FtpClient$OutputStreamProxy JAVA CLASS
FtpClientStatic JAVA CLASS
FtpException JAVA CLASS
FtpReply JAVA CLASS
FtpTest JAVA CLASS
LoadXml JAVA CLASS
LoadXmlStatic JAVA CLASS
UrlFileUtils JAVA CLASS
Utils JAVA CLASS
dir JAVA CLASS
Thanks,
BrianThe source far java class objects that are not derived from java source objects
(which is the case here, and is typically the case, such as when one loads
classes into the database using loadjava on a jar that contains only .class
files) does not exist in the database (just as it does not exist in a jar which
contains only .class files). So there is essentially no way to view the source, short of extracting the bytecodes and using some decompiling tool. I don't recall what methodologies exist for extracting bytecodes in 8i. As for transferring
the classes to another database, the standard Oracle import/export tool can do this. -
Generate XML Schema from Java classes?
Hi,
Considering an XML Mapping, i would like to generate a default XML Schema from my Java class.
Is there a tool in toplink (10.1.3) to do that or does anyone have an easy way to generate this XML schema?
Thanks,
LudovicHi Ludovic,
We don't have support for schema generation from Java classes in TopLink 10.1.3. It's required for JAXB 2.0 so it will be available in a future release.
--Shaun
Maybe you are looking for
-
Bullets and Numbering "Text After" attribute
Hi Everyone, I need to grab "Text After" attribute of and existing bullet list in InDesign document and change it to my text. I think, I need to get access to "kBNBulletTextAfterBoss", but I don't know which boss agregates it. Thanks
-
Multiple Corner Types (Miter, bevel, round) in one path
I'd like to be able to have multiple types of corners within one path. I'd like to have a path where the first point is a bevel corner type, the second point is a miter corner and the third is a bevel again. Of course switching between any corner typ
-
Lonf text update in Transcation
Hi, I am uploading long text in IA05 transaction. Using function modules SAVE_TEXT, COMMIT_TEXT. The text gets updated in the database i can see the text through READ_TEXT fm. But when i m going in the transaction i m not able to see the text. Pleas
-
Custom attributes on endpoints objects in ISE 1.3 ??
Hi, I would like to create custom attributes on an endpoint object - just as it is possible to do on user object. How do I do that ? Can I use the REST API for that - or is that not supported ? Best regards Tue
-
Integer i1 = 100; Integer i2 = 100; Integer i3 = 200; Integer i4 = 200; System.out.println( i1 == i2 ); System.out.println( 100 == i2 ); System.out.println( i3 == i4 ); System.out.println( 200 == i4 ); The result is not true, true, true, true but tru