This app was mentioned in 7 comments, with an average of 2.14 upvotes
well, first, you should get out of the habit of calling it JAVA, it's just Java; it's not an acronym.
as for your question, i found this: https://play.google.com/store/apps/details?id=com.spartacusrex.spartacuside&hl=en
there really aren't any good solutions yet and i don't think there ever will be until mobile os's are just the same as desktop os's and you can use the same software everywhere. i've already seen this happen where i work. we used to buy ipads for producers and such and now we've switched them all over to surface pros; it just makes more sense.
as for developing on mobile in the current environment, you probably should be looking at cloud services that you could use for development through a web browser like https://c9.io/ or some type of vpn/remote desktop client for your phone.
Sorry if I'm late to the party, if you're having android 4.4 or bellow you can try and use Terminal IDE
Haven't tested it out, but I will in couple of days and I might pots results, if there are any..
Well, if you are a programmer who uses Vim, good terminal emulator and some configuration later you get to have a really good portable working station. Phones are really advanced computers. High resolution, lot's of storage and long lasting batteries. :)
There's a bunch of projects for this. Some are listed by Debian's ChrootOnAndroid wiki page
I personally prefer Linux Deploy because of the automation it provides for various different distributions, such as choosing the package mirror, and setting it to a local apt-cacher-ng server on my lan, so I can reinstall without redownloading all the packages.
There are apps that will let you do C++ development on an Android device. Some of the better ones:
Terminal IDE - https://play.google.com/store/apps/details?id=com.spartacusrex.spartacuside
C4droid - https://play.google.com/store/apps/details?id=com.n0n3m4.droidc
AIDE - https://play.google.com/store/apps/details?id=com.aide.ui
You could also run Turbo C++ in a DosBOX on Android: https://www.youtube.com/watch?v=SViw-H31r5E
Combine any of these with a bluetooth keyboard and a hdmi adapter to connect your phone to a TV/monitor and you would have a decent development environment to play around in.
Terminal IDE - check it out. Fire up tmux in it, and there you go. Or you can run Emacs locally too.
I have an asus transformer pad infinity along with the keyboard dock
Terminal emulator: Terminal IDE can compile and run java and C. You can also use vim, ssh, tmux, and the usual terminal jazz. Also, QPython is a plugin that adds python capabilities
Text editor: If you don't like vim, Jota+ is THE ultimate android text editor. Don't worry, you can change the background that is shown in the screenshots to white.
SSH: Juice ssh Although Terminal IDE has ssh capabilities, the experience isn't as great as that a dedicated app can give you
That's all the apps that come to mind. If you need any more capabilities, just do a search because someone has probably made an app for it. You could even install linux on your device if you want