Before answering your question, just try this simple question: What are PATH and CLASSPATH for?
Answer:
1) PATH: You need to set PATH to compile Java source code, create JAVA CLASS FILES files, and an operating system to load classes at runtime.
2) CLASSPATH:. This is used by the JVM, not the OS.
To your question:
Just make sure you have the modified PATH variable (Windows System environment variable) so that it points to bin dir that contains all exe, for example: java, javac, etc. In my case, it looks like this:; C: \ Program Files \ Java \ jre7 \ bin .
Thus, it does not matter that your system is 32 bit / 64 bit until you specify / change the PATH variable correctly.
source share