问题
My Java program needs lots of memory to run, the 32-bit version of Java max out at 1.5 GB, my system has 4 GB of RAM, so I decided to run it under the 64-bit version of Java, and yet the JDIC won't work, which affects my program, so I wonder if anyone knows when the 64-bit JDIC will be available ?
回答1:
Assuming you are running a 64-bit OS and a 64-bit JVM, you could try the latest version of Java 6u13 as I believe there is improve client side support for 64-bit applications.
Note: I wouldn't suggest you use more than 1/2 to 2/3 of your memory for Java's heap. You may also need more main memory to see a real improvement in the amount of memory you can really use. (As you need to leave memory for the OS, other programs and Java's own shared memory/libraries etc)
回答2:
I only used Desktop (org.jdesktop.jdic.desktop.Desktop) from JDIC and now I can use java.awt.Desktop from Java 6. There's a few differences but essentially they both have the same functionality.
来源:https://stackoverflow.com/questions/845570/when-will-the-64-bit-version-of-jdic-be-available