Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
The community reviewed whether to reopen this question 1 year ago and left it closed:
Original close reason(s) were not resolved
Improve this question
Is there a tool out there for minifying java source code?
I am aware there is not much practical need for such a tool, but I am interested to reduce some students' code to 'bare bones' to show how their variable names are interpreted (sort-of -- it will heopfully re-enforce that their choice of variable names are disregarded) by the compiler. (The next step in this pedagogical process might be to show them the compiled code).
Thanks.
In the java world we mostly speak, due to the purpose, of obfuscation (even if in my opinion the impact on application file size can be useful, I used it a lot on Android applications a few years ago).
The best java obfuscator is probably Progard. Like all of them, it can reduce all (non exported) class and/or variable names to just a letter, which is part of the obfuscation as well as part of a minification.
You will have to decompile the bytecode afterwards if you want to show some java.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I remember in the past there was an infrastructure given to the public to check the compatibility of the JVM and its libraries itself. If I am correct, that was Java Device Test Framework, which now has magically disappeared. In its place is only the Java Device Test Suite, which is actually only for ME edition (and commercial) or Java Compatibility Kit, which again is not open source & publicly available.
What I'd like to accomplish is to use these tests myself on other non "full JDK" JVMs, like Avian, MobiVM, CrossMobile or TotalCross, in order to have a rough estimation of what is missing and what to expect.
Definately I don't need to check the full JDK -- that would be out of concept. What I am more interested is more base functionality, i.e. things that one could find on the java.base (at most). So, is there any (preferably) open source toolkit available?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
The community reviewed whether to reopen this question 1 year ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I am looking for a java plotting library that might be as good as matplotlib is for python. I have done some research looking over SO questions, but many of them are outdated and a lot has changed in the few years since they were asked. The suggestions that come up lead to websites that at the surface seem to be offering good libraries but my needs are immediate and I cannot afford the time to use them all and find the best through experience.
And so I am asking for your experience, can any of you recommend a graphing library that is to java as matplotlib is to python (in 2013)?
There's a ton of graphing libraries available for Java. Plotting libraries? Not so much. A list is availble at https://stackoverflow.com/questions/4851035/i-am-looking-for-a-plotting-library-for-java
If none of those cut it, Here's one some quick Googling found me. While I've never used it, based off it's description JMathPlot seems really good.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am looking for a library that will allow me to work with sound. This is just something that occurred to me and the problem is that in a large music collection I need to find tracks similar to another reference track . The simplest of things would be to find tracks with the same/almost-the-same tempo . Is this possible and are there any tools available for this ?
Finding music which is similar to other music is quite a complex field, and will probably require quite a bit of work if you're willing to spend quite a bit of time. If Java is your language of choice, then you could have a look at coMIRVA which will let you compare music based on timbre. From my experience, doing comparisons on that single dimensions isn't always good enough, but it is at least a start.
There's always the other path, which is to use an already existing commercial offering such as the Echo Nest and BMAT. I don't know what they cost, but it's probably quite pricey. However, these are products that have taken years to develop so I assume they must at least provide some sort of value.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm taking over a couple of projects with fairly complex build.xml files. Which tool do you recommend to help me visualize all the files' dependencies?
I've found ant2dot.xsl and Vizant. I just wanted to see what other options are out there and what people prefer.
I like Grand best of the three because it handles imported build files the best. Since I rely heavily on imports, this is critical.
In 2007, I had written an article comparing the three along with an example of the output of each. I just checked and not have the libraries have change significantly in that time so the analysis still holds.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I need a static code analyzer for Java that produces an output file about the: relationships of the classes (also inheritance relationships), fields of the classes, method signatures, and method call hierarchies.
The important point is that the analysis data can be (easily) processed by a program. (I need the analysis for a kind of automatic "refactoring" tool for university.)
JastAdd is a good source level analyzer (and much more).
You might prefer to work on bytecode level though. This is simpler, faster, provides all information you requested, works without source (obviously) and with other JVM-based languages. For that, either Soot or ASM is a good choice.
UPDATED
Of course with bytecode you can't really perform source level refactoring (though you could do bytecode modification).
For completeness you may want to combine both approaches.