Hot answers tagged

14

Being a java software developer, I'd gladly share my personal experience with you. First of all, I must mention that all my experience with the above IDEs is on Linux platform, but I have seen that what applies to this OS is not the same as for Windows or MAC. Also, respecting your "pure Java" restriction, I will not address features related to other ...


14

I got super annoyed with this too so I build a tool myself https://www.npmjs.com/package/junit-viewer easy to install and use (requires node but no javascript knowdledge)


11

iText I am the CEO of the iText Group, the original author of iText as well as the author of two iText in Action books and the free ebook The Best iText Questions on StackOverflow. The list you refer to mentions iText and with this answer, I want to confirm that iText still exists. It is available under an open source license (AGPL) as well as under a ...


10

Visual Paradigm is a very good tool for diagrams. I've used it during my university a few years back to draw diagrams and generate code from the diagramsUML, and I've always saw an option to do the reverse but haven't used it personally. They have a feature that called (Round-trip code engineering Forward and reverse engineering) The program has a free ...


10

For creating fat jars jarjar is a brilliant tool since it is easy to use, well maintained and has a good plugin support. It is also recommended by many libraries that typically require repacking such as ASM. Otherwise, build managers such as Maven or Gradle should offer you the functionality you are looking for out of the box. You should be able to pack ...


10

picocli is different from other Java CLI libraries: It is designed to be included in source form. This lets users run picocli-based applications without requiring picocli as an external dependency. Generates polished and easily tailored usage help, using ANSI colors when the underlying platform supports it. Autocompletion for your Java command line ...


10

I found two Java libraries that can diff two JSON strings and tell what was added, deleted, and modified. Both libraries generate output in accordance with RFC 6902 (JSON Patch): zjsonpatch fge json-patch zjsonpatch is better because it can detect items being inserted/removed from arrays. Fge json-patch cannot handle that - if an item is inserted into ...


9

Netbeans has a Git support out-of-the-box. Nevertheless in our company we are discouraged to use it, as it has/had a bug which led to some trouble with the git repo. Unfortunately I don't know what the bug was, as it occurred before I worked there. Therefor we use git only from the command line, which is quite easy too. This leads also to no trouble because ...


9

Even though Android uses Java, it does not support executing JAR files on Android devices. However, you can use emulators to do this which are not available on Google Play Store but are available from the developers' website. I have provided the source link and download instructions are available there. phoneME JBlend Netmite JBED Features of phoneME: ...


8

I've given up using vim for Java Web development some years ago, cause it really needs a lot of tooling support (Intellij IDEA is very nice). I've had more success using vim for developing Grails applications, but I feel that for Java I really want strong refactoring tools. Having said that, if you really insist in using vim, here are some plugins that may ...


8

H2 Without more specific information about your needs, my first thought is the H2 Database Engine project. H2 is a pure-Java, open-source, free-of-cost, relational database that has been actively developed for years. The "2" refers to the fact that this is the second such database (Hypersonic SQL, later forked as HSQLDB) built by its main author, Thomas ...


6

It is JITWatch. Screenshot of GUI


6

Eclipse supports most or all of those functions via the EGit plugin. I know other developers who like it, though I personally prefer to just use the git CLI.


6

Well let me give an answer since this question is a bit quiet. From the EJML website, I found this graph: So according to this, EJML is best overall using pure Java code for smaller matrix and MTJ is best for large sized matrices. Again got to be careful with one of the candidates reporting, but this does give some insight into the different packages ...


6

After some days I found Jsoup to do such thing, they even have a special method to do it: http://jsoup.org/cookbook/cleaning-html/whitelist-sanitizer. However, this library loads all the content first (it uses a model similar to XML's DOM) So this is not a perfect solution. I'm going to leave my answer here but I'm not going to "accept it" straight away in ...


6

I recommend JOpt Simple. It 'attempts to honor the command line option syntaxes of POSIX getopt() and GNU getopt_long().' It has community traction and notably is the command line parsing lib of choice for the OpenJDK itself. For comparison, here's a relatively up to date (as of Jan 2015) list of related libraries that serve the same purpose. picocli (with ...


6

Your question is too broad to answer in anything like a definitive manner. You don't tell us at all what kind of database you want to use. Do you need an RDBMS? Key/value store? Something else? If a relational database is what you have in mind, SQLite is the de-facto standard, and has Java support (as well as support for practically every other language ...


5

I used CFR and output looks good. It understands generics, formatting is clean. Not sure if naming (local variable ) can be better. Here is an example which shows the naming problem. See output from java.util.ArrayDequeue( private void doubleCapacity() { int n; assert (this.head == this.tail); int n2 = this.head; int n3 = ...


5

The only Java application I ever heard of for this purpose is the JIExplorer. They attempt to offer an open-source alternative to ACDSee what is a rather popular commercial photo viewer. They support thumbnails but with respect to "tagging" this is very dependent of what you mean by that. If you want to tag picture areas (such as offered by for example ...


5

LibreOffice One indirect and free-of-cost route is to create or modify documents in LibreOffice using its Java API library. Then tell LibreOffice to create a PDF from that document. Not simple, but doable. My team has done so in the past for a prototype (not in production). The LibreOffice API was confusing, with an odd design, not well documented, with ...


5

Sublime, Notepad++, Emacs, TextPad are all simple editors and a good way to get started. I don't know how well they support code completition but they should all support coloring of tags, variables and reserved words in programming languages. Personally i quickly switched to a more heavyweight IDE starting with NetBeans then Eclipse and finally IntelliJ ...


5

tl;dr No need for a library. The built-in Java libraries suffice. Use a ConcurrentNavigableMap. Currently the only bundled implementation is ConcurrentSkipListMap. Details Probably not appropriate to post programming details here. If you post this same kind on Question on Stack Overflow, but asking how to do this in general rather than asking for a ...


4

This task is too simple to carry a dependency for: class Counter<E extends Comparable<? super E>> { private TreeSet<E> set = new TreeSet<>(); public void addData(E e) { set.add(e); } public int countBiggerThan(E e) { return set.tailSet(e).size(); } public void removeSmallerThan(E e) { set....


4

IntelliJ Idea has Git integration. It's quite powerful, and should be just fine for most peoples' needs. It should be good for... Changing branches Pulls, Pushes, Checkouts, etc... Adding and rm'ing files Etc...


4

To build simple and complex Etl processes I recommend Kettle. Currently named Pentaho Data Integration. Written in Java with nice GUI and easy to integrate in Java software. Source available. See website.


4

You may want to consider bootstrap. You will need some reading, but it's quite fast to have something good-looking. Trouble is, it will also look like a loot of other websites. Regarding your needs, here is a tab system : Here is a calendar (link by dimzak) :


4

There is a special build of Eclipse known as e(fx)clipse which provides lots of tooling for JavaFX. More at e(fx)clipse


4

You can take a look on HeftyDB. It is a fast key-value store, written in Java, and it's open-source.


4

Xodus Based on your requirements, I think JetBrains Xodus is a very choice of database. It has three types of database- a key-value storage, an entity-store and a database for files and streams. #1: It is very easy to start using. If you are using maven just add one or two dependencies. Or you can also import .jar files directly into your project. No need ...


4

Quadtree is usable: Free, open source Find objects within a rectangle Set an object at particular coordinates 24 KB ... but it has some drawbacks: Search is not by radius, it is rectangle. Flat map, won't work near the poles. Two different objects can't be stored at the same latitude/longitude. This can be worked around by making each object a List of ...


Only top voted, non community-wiki answers of a minimum length are eligible