| Real'sHowTo |
|
|
Custom Search
|
Environment and tools HowTo
- General
- Read environment variables from an application
- Read environment variables (JDK1.5)
- Read environment variables (JNI)
- Use a MAKE file
- Detect the browser/JVM type
- Fix the "Wrong magic number" error message
- Use a precompiler "à la C" with Java
- Determine what are the classes actually used
- Set the memory available to the JVM
- Generate the Javadoc "en français"
- Use JDK1.5 new features
- Check the class version
- Get the system properties or the JVM uptime
- Detect if running in a 64bit JVM
- Set the default JVM type
- Select a particular JRE from the command line
- Get the PID (pure Java solution)
- Get the PID (JNI solution)
- Set default value for Java property or JVM option (system wide)
- Detect if running in debug mode
- Microsoft Windows
- Capture the output of JAVAC
- Freeze the JVIEW window in MS VJ++
- Wrap a Java bean in a COM object (using Sun ActiveX bridge)
- Know details about the JAVA run-time environment
- Detect the Microsoft JVM version installed
- Run Java as a Windows service
- Execute a class from Windows Explorer
- Create an icon to launch java apps for Windows
- Fix "out of environment" error with long CLASSPATH
- Query the Windows Registry (reg.exe)
- Query/Update the Windows Registry (hack)
- Read/Write Windows Registry (JNA)
- Quickly retrieve available Java JVM on a workstation (Windows)
- Detect if a Windows service is running (capture VBS return code)
- List currently running processes (Windows)
- Check if a program or process is running (Windows)
- Check if a process is running (Windows) using WMIC
- Windows registry vs Java JDK/JRE installation
- Get the current Java version from a BAT file
- Get the Windows "My Documents" path
- Get the Windows Desktop path
- Get the Windows Special Folders
- Create an Internet Shortcut
- Get the running JVM Path (Windows)
- Detect the installed Office version
- Schedule or run a Windows task
- Check if current user is admin (Windows)
- Check if current user is admin (JNA)
- Detect if running in remote session (Windows)
- Detect if running in a Citrix session (Windows)
- Javadoc
- Log
- ZIP, JAR, CAB
- Use a JAR/ZIP/CAB file
- Make ZIP/JAR file always accessible from applet
- Make a JAR executable
- Application with multiples Jars
- Access JAR outside the CLASSPATH
- Extract a file from a Jar
- Determine if running from JAR
- Get list of classes in package (in a Jar)
- Add version to Jar packaging
- Use ANT to Build a JAR with version/build number
- Include all jars in the classpath definition
- Browser
Environment and tools HowTo
Written and compiled by Réal Gagnon ©1998-2013
[ home ]