Skip to content

Tag: command-line

Setting JAVA_HOME

I’m having a problem when running programs that use Java from the command line. I get back a message saying Java.exe could not be found. I’ve followed the instructions found in several places for setting JAVA_HOME in Windows 7. As can be seen in the image I’m pointing to the JDK folder as in…

Command line progress bar in Java

I have a Java program running in command line mode. I would like to display a progress bar, showing the percentage of job done. The same kind of progress bar you would see using wget under unix. Is this possible? Answer I have implemented this sort of thing before. Its not so much about java, but what charact…

Build Eclipse Java Project from Command Line

Is there a way to compile an Eclipse-based Java project from the command line? I’m trying to automate my build (using FinalBuilder not ant), and I’m neither a Java nor Eclipse expert. I can probably figure out how to do this with straight java command line options, but then the Eclipse project fee…