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 ?
Asked
Active
Viewed 2,198 times
2 Answers
1
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.

rmartinus
- 690
- 1
- 9
- 14
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)

Peter Lawrey
- 525,659
- 79
- 751
- 1,130
-
Thanks for the advice, but I am not sure if you've answered my question, I tried to run 64-bit of Java, but since my project uses JDIC, it won't work properly without the 64-bit support of JDIC, does Java 6u13 offer 64-bit version support of JDIC ? I need it to simulate desktop browser. – Frank May 10 '09 at 20:25
-
I believe Java 6u12 added support for 64-bit applets and browsers. I don't know about JDIC, but I believe it is worth a try. I was trying to point out you will probably have more issues increasing the maximum memory if you only have 4 GB. – Peter Lawrey May 11 '09 at 05:41
-
Another option may be to run a 32-bit service which is a bridge between you 64-bit application and JDIC. It could communicate via sockets or RMI. (Ugly, but it would work) – Peter Lawrey May 11 '09 at 05:42
-
Good advice, I've done some research and found JDIC was sort of taken over by JWebPane which can function as a browser panel, and it is supposed to be part of next version of the main Java package, I'm looking forward to it. As to RAM, once I move over to 64-bit, my available RAM to Java will likely increase from 1.5G to 3G, that will last a good while before I need to get a new PC, thanks. – Frank May 11 '09 at 14:03