Alternative to dex2jar and jd-GUI? [closed] - java

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
it seems that either dex2jar and/or jd-GUI gives bad de-obfuscation even for the simplest code of if-else condition (they show a while(true) loop which has a return; on its first line .
are there any other freeware apps that do the same work of de-obfuscation? maybe something that can also use the mapping file of proguard ?

Actually the best alternative that I have tested is JEB Decompiler that works directly on Dalvik bytecode to generate the sources without conversion in Java bytecode(that is the main source of errors in decompilation procedure), but unfortunately is a commercial software a bit expensive for an individual.
Alternatively try Kivlad , but note that requires Ruby runtime 1.x to run, and is still an alpha release in development
Virtuous Ten Studio (VTS) is another nice tool that uses APKtool as engine, the quality of java src result is inferior to JEB and comparable to dex2jar + java decompiler, but the environment is very comfortable. (Has a donate license but works for free)

Related

Java OpenSource library for versioning files [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
My task description is something like this:
"Application should be able to store text/binary files in some filesystem storage. Every file has an author and date of uploading. Application should store all versions of files and provide abilities to review history/versioning tree".
We can't use DB solution here because we have another application that processes uploaded files and it requires original file version (build script which uses javac command). And this is not good idea to store files in the database.
So I'm looking for some ready-to-use solution and I want to avoid writing my own storage implementation.
I've googled some solutions and see jackrabbit library as a variant. It implements JCR specification. But also I saw some bad comments about JCR concept.
Please advise me something else.
Or is JCR good enough for my task?
That requirement sounds like source code version control. There are APIs for Git and Subversion, and probably for other less used systems. http://svnkit.com for example, a search for "git api" or "subversion api" will turn up others.

What's a good scripting language if I'm developing for Android? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm writing an application in Java that I would eventually like to run on Android devices (right now it runs on desktop). I've recently been thinking about adding a scripting language, but am not sure what to pick.
My preference is Javascript/ECMAScript since I'm already familiar with it, but I can't find a pure java port of it, which I think would make it hard to compile into an Android executable (at least I think so. I don't know if/how Android handles JNI).
I was also thinking of Lua since a pure Java version does seem to be available under the MIT license. I believe Minecraft uses it for scripting.
If anyone else knows of any good scripting languages I ought to consider or a clean port of Javascript, please let me know.
Rhino is a pure Java implementation of JavaScript, which is co-bundled with JDK7. You can compile JavaScript to bytecode, or compile on-the-fly from JavaScript source.

Program to decompile jar or class files [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am looking to decompile either a complete .jar file or simply .class files.
I have been googleing around for about an hour now and havnt seem to find any tools to help me.
Most of the tools i found was either outdated or did not work.
I also found this post from stackoverflow but sadly all of the programs suggested can either not be downloaded or is out dated.
Well you have many alternatives: http://www.showmycode.com/ .
In practice, I have found JAD to be closely precise. JD-GUI is again quite good with eclipse like code viewer.
Edit (2015): Fernflower has picked up quite some hype over last couple of years. Personally I find it to be the best. IntelliJ uses it as default from Idea13 onwards (This speaks volumes as intellij is considered cutting edge as per tooling in java world is concerned). Easiest way to use fernflower would be to drag drop .class files on intellij. In case you wish to use it from command line, then this might help.
.jar files are just .zip files with some specific metadata files (META-INF/MANIFEST.MF), so they can be opened with any unzip program. (see http://en.wikipedia.org/wiki/JAR_%28file_format%29 for more info)
for the .class files therein, see this other question: How do I "decompile" Java class files?

OCaml to Java translation [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have nice OCaml code (30000 lines apox). I want to port it to Java. So Is there any free OCaml to Java translator?
I need it as my own project is in Java and i'm also comfortable with java, but in project I've to use the OCaml code, i don't want to reinvent the wheel ... I just want to modify that code(OCaml) and use it..
I've seen the OCaml to Java , but it just make possible to call ocaml code from Java code that is good but i need complete translation.. A source code(OCaml) to source code(Java) compiler..
No, this does not exist. Very few source-to-source compilers exist (I believe some have been tried to port old COBOL codebases to Java). If you want to maintain and modify an OCaml program, your best bet is to learn some OCaml.

java code analysis and structure by tool or pluggin [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is there any tool that helps analyse code structure in a java project, either as an eclipse pluggin or as a standalone?
I guess something similar to what Structure101 seems to do, but I am looking for something free.
I.e. to visualize dependencies among jars, classes, class-hierarchies etc.
It is mostly to understand an existing code-base faster, rather than set coding rules or profile etc.
I've found the following tools useful
CodePro Analytics - http://code.google.com/javadevtools/codepro/doc/index.html
JDepend - http://www.clarkware.com/software/JDepend.html
Sonar - http://www.sonarsource.org/
Metrics - http://metrics.sourceforge.net/
you mean like Sonar?
Tons of them. The thing is you probably want to google for the kinds of tests, eg, "McCabe complexity java" or "test coverage java".
You might have a look at this wikipedia article.
Update
Aha. Try depfind.

Categories

Resources