When comparing Textastic vs Java, the Slant community recommends Textastic for most people. In the question“What is the best code editor for iOS?” Textastic is ranked 5th while Java is ranked 6th.
Ranked in these QuestionsQuestion Ranking
Pro iOS version available
Pro Supports 80 source code and markup languages
Textastic has support for several script and markup languages.
Pro Very fast
There's no need for hundreds of modules to be loaded on every start of Textastic. It's perfect for the fast editing of files.
Pro Supports online sync
Textastic can sync with iCloud documents.
Pro Code completion
Pro Mature ecosystem
The language and all its tools have enough time to age and they've aged well.
It is easier to catch errors sooner.
Con Mac only
Textastic is for Mac only.
Textastic is a proprietary software and needs a license which costs $7.99.
In more detail: Oracle has acquired Java from Sun and continues to surround it with controversy ever since (legendary lawsuit with google, money extortion from the enterprise users etc.).
Con Memory hungry
Running the virtual machine, application server and application itself consumes significant amount of resources.
Con Unnecessarily obtuse and verbose
If you like typing 40 lines of code to open a file, Java is the language for you. If, on the other hand, you’d actually like to get something done, look elsewhere.