biggests.utils
Class JVMInfo

java.lang.Object
  extended by biggests.utils.JVMInfo

public class JVMInfo
extends java.lang.Object

Title: JVM Info

Description: Provides methods to get information about the JVM in which this code is being executed.

Copyright: Copyright (C) 2008 Joana Gonçalves This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.


Constructor Summary
JVMInfo()
           
 
Method Summary
static void main(java.lang.String[] args)
          The main method.
static void writeJVMBitsToFile()
          Writes the number of bits of the JVM to a text file named bits.txt in the current directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JVMInfo

public JVMInfo()
Method Detail

main

public static void main(java.lang.String[] args)
The main method.

Parameters:
args - String[]

writeJVMBitsToFile

public static void writeJVMBitsToFile()
Writes the number of bits of the JVM to a text file named bits.txt in the current directory. The value written to the text file is either 32 or 64.