My method does not require touching the registry at all. One should not
modify the registry when using my method.

The only thing to worry about is whether the correct version of j3d.dll and
jvm.dll are found, which is why I advocate copying them into the same folder
as the batch file.

Of course, if Sun ever adopts Microsoft's practice of putting the required
.dll files all over the place (into the \Windows folder, for example)
instead of just putting them into the JRE folder, then my approach may no
longer work.

Also, of course, the target computer must have the correct version of OpenGL
or Direct3D installed in order for Java3D to run.

At the worst, my method has the possiblity of not working for the
application. It will not mess up any applications currently resident on the
target computer. This is because the application is all contained within one
folder, and the registry is not modified.

In my experience, my method has been fairly robust. However, I have not sold
lots-and-lots of Java3D applications to lots-and-lots of customers, so I
cannot speak with overwhelming authority on the subject.

It does seem like my method is a cure for what seems will be a commonplace
phenomenon that Java applications will work on a computer until the next
version of the JRE is installed on that computer.

Rob

>I was wondering how robust is this way of doing it by copying the JRE with
>the application.  I am sure many of you have had the problem with more than
>one JDK installed on a single Windows machine that it complains about some
>registry entries not having the exact version number they needed (in my
case
>1.3 or 1.2).

>Are we free from that by just shipping JRE?
>I know I could just try it and see but better rely on already established
>experience...

>Yan Laporte
>DMI
>University of Sherbrooke
>Canada
>[EMAIL PROTECTED]


>From: "Stanley, Robert" <[EMAIL PROTECTED]>
>Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: [JAVA3D] program installation
>Date: Wed, 1 Nov 2000 09:23:13 -0500
>MIME-Version: 1.0
>Received: from [204.160.241.38] by hotmail.com (3.2) with ESMTP id
>MHotMailBBC976510076D820F3E3CCA0F126F2450; Wed Nov 01 06:40:27 2000
>Received: from mail (mail.javasoft.com [204.160.241.28])by
>mail2.java.sun.com (8.10.0.Beta13+Sun/8.10.0.Beta13) with ESMTP id
>eA1EN0R24666;Wed, 1 Nov 2000 06:23:06 -0800 (PST)
>Received: from JAVA.SUN.COM by JAVA.SUN.COM (LISTSERV-TCP/IP release 1.8d)
>with          spool id 1403288 for [EMAIL PROTECTED]; Wed, 1 Nov
>2000          06:24:15 -0800
>Received: from igate1.fallschurch.esys.com (igate1.fallschurch.esys.com
>      [198.4.96.17]) by mail.java.sun.com (8.10.0.Beta13+Sun/8.10.2) with
>        ESMTP id eA1EODO01794 for <[EMAIL PROTECTED]>; Wed, 1
>Nov          2000 06:24:14 -0800 (PST)
>Received: by igate1.fallschurch.esys.com; id JAA06589; Wed, 1 Nov 2000
>09:22:23          -0500 (EST)
>Received: from unknown(199.170.244.43) by igate1.fallschurch.esys.com via
>smap          (4.1) id xma006560; Wed, 1 Nov 00 09:21:54 -0500
>Received: from mailhub.fcd.esys.com (mailhub.fcd.esys.com [199.170.224.9])
>by          igate5.fcd.esys.com (8.9.3/8.9.3) with ESMTP id JAA12676 for
>       <[EMAIL PROTECTED]>; Wed, 1 Nov 2000 09:18:54 -0500 (EST)
>Received: from fcexchange.fcd.esys.com (fcexchange.fcd.esys.com
>[199.170.244.31]) by mailhub.fcd.esys.com (8.9.3/8.9.3) with ESMTP id
>    JAA07426 for <[EMAIL PROTECTED]>; Wed, 1 Nov 2000 09:16:55
>        -0500 (EST)
>Received: by fcexchange.fcd.esys.com with Internet Mail Service
>(5.5.2650.21)          id <VVV9VKMV>; Wed, 1 Nov 2000 09:23:14 -0500
>From [EMAIL PROTECTED] Wed Nov 01 06:42:24 2000
>X-Mailer: Internet Mail Service (5.5.2650.21)
>Message-ID:
><[EMAIL PROTECTED]>
>Sender: Discussion list for Java 3D API <[EMAIL PROTECTED]>
>
>Yes, the JRE can be installed with your application. Just download the JRE
>from java.sun.com as well as the Java3D_For_JRE from java.sun.com. Install
>both on your computer. Then copy the JRE folder into your application
>folder.
>
>Then set up a batch file with the following text:
>
>JRE\bin\java -cp . MyApp
>
>or
>
>JRE\bin\java -cp . -jar MyAppJar.jar
>
>or something similar, depending on the exact path and packages leading to
>your "main" .class or .jar file.
>
>You may need to copy java3d.dll and jvm.dll to the location where your
>batch
>file is in order for these .dll files to be found at runtime.
>
>Once you have your application folder set up with the JRE folder inside it,
>you can install it on a computer by just copying onto the computer's hard
>disk. It is not necessary to install the JDK or JRE separately.
>
>This has worked well for me.
>
>Rob
>
>===========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff JAVA3D-INTEREST".  For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to