Re: Java 3D 64 bit problem.
Posted by Rajesh on Jun 23, 2012; 1:20pm
URL: https://forum.jogamp.org/Java-3D-64-bit-problem-tp4025257p4025306.html
Hi,
Thanks to both of you for your responses.
In response to Julien's suggestion. Yes. I would like to wait till someone comes up with the correct method to create and suggest dependencies for NetBeans RCP applications. And I would also ask the NetBeans team. The method you suggested (TUER) is for creating a new project with existing sources. However, that method will not fit me because I am doing an RCP App, where the things are modularised (please correct me if I am wrong).
Wade Walker's message: What I have done is that I have now removed both GlueGen and JOGL modules from my program and I have created only one module with all jars placed into it. gluegen-rt and its all possible native jars + jogl.all.jar + all its possible native jars are in this module. Java 3D module only depends on this module. All my program modules depend on both these modules. When I run the program, the program runs without any errors, but my first problem has returned. The Canvas3D object (please refer to my first post) doesn't get added to the JPanel object and therefore there is no display (this is now on my home computer 32-bit). In addition, the program seems stuck somewhere. My menu items and other functions of the program are not working. I had to kill the process to terminate the program.
Now to the specifics. I have been researching over the last one week and now have found that in NetBeans, it is pretty simple to use 32 and 64 bit dlls or .so files. Just create two folders ( x86 and amd64 ) under release/modules/lib folder and place the dlls or .so files in their respective folders and NetBeans automatically picks up the correct native file during run time. I am ok with using .dll or .so files. Because I am not really doing anything fancy with Java 3D. I only need to show the model to the user and permit the user to have a few simple mouse and keyboard behaviours. That's all. The user has to enter a few values into some windows and get the results. To sum it up, I am happy with Java 3D 1.5.2, and prefer to use it compared to 1.6.0 and ten more jar files. And please I request an answer to my original question - why on my office computer (64 bit), the program was able to run, but not add the Canvas 3D object to JPanel?
Thanks again for your patience going through this long post.
Regards,
Rajesh.