SmartJ : Java Glossary

I have left this tombstone entry for historical interest.
SmartJ
Was Crystalline Solutions’ (Jonathan Revusky’s) tool for launching class files as if they were EXE files under Windows and NT. SmartJ automatically finds a JVM (Java Virtual Machine) to run on and automatically set up a CLASSPATH. It is much less picky about the input it accepts than java.exe.

It forgives most errors with current directory, classpath, package naming and extensions. Think of it as training wheels.

SmartJ allows you to switch between Java version 1.1 and 1.2 without messing with any environment variables. It’s just SmartJ -1 Myclass or SmartJ -2 Myclass. Also, by default, it tells you what JVM you’re using and what the CLASSPATH is, which may help you avoid confusion about what JVM and/or build you are currently testing.

SmartJ makes the CLASSPATH mess much more manageable. In fact, SmartJ pretty much eliminates the need for a CLASSPATH environment variable, since it transparently sets up a valid CLASSPATH every time you launch a java class. After installing SmartJ, .class files can be launched by a double-click in the Windows explorer, whether they are set up on the CLASSPATH or not!

SmartJC is a replacement for Javac that has the extra feature that you can also give it one or more directories as an argument. It recompiles all out-of-date source files in a directory and its subdirectories. Before invoking the compiler, it looks at all the source files and, based on the package they are in, it sets up a valid CLASSPATH. So again, you don’t need a CLASSPATH set up. In fact, SmartJC in many cases will eliminate the need to use any complicated make or build tools.

If smartj picks up the wrong jvm, use regedit to make sure that HKEY_LOCAL_MACHINE\Software\JavaSoft entries are pointing to your desired jvm.


CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/smartj.html J:\mindprod\jgloss\smartj.html
logo
Please email your , letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email. If you want your message, your name or email kept confidential, not considered for public posting, please explicitly specify that. Unless you state otherwise, I will treat your message as a letter to the editor that I may or may not publish in the feedback section. After that, it will be too late to retract it. If you disagree with something I said, please quote it and cite the web page where you found it, tell me why you think it is wrong, and, if possible, provide some supporting evidence. Threatening to kill me or spouting obscenities has yet to persuade me to change my mind.
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.179.210]
You are visitor number 20,767.