SmartJ : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)
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.


This page is posted
on the web at:

http://mindprod.com/jgloss/smartj.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\smartj.html
Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[3.236.111.234]
You are visitor number