Can't Install JDBC For Informix

Can't Install JDBC For Informix

Post by Brett Sheera » Mon, 07 Jan 2002 11:38:48



I have installed Informix Dynamic Server v 9.21 on Windows 2000, but am
unable to install JDBC for infomix. I ran ... java setup, but get the
following message:

"The installation program has determined that your system does not have the
virtual machine required to run Informix JDBC Driver Version 1.50.JC1. You
need. Java 1.1 on any OS from any vendor"

The JRE exists in "d:\informix\krakatoa\jre". And, Java is installed in
"c:\Program Files\jbuilder5\jdk1.3". Furthermore I have set the JAVAHOME
environment to "c:\Program Files\jbuilder5\jdk1.3". Any suggestions would be
gratefully received.

Regards Brett

 
 
 

Can't Install JDBC For Informix

Post by Jose Gulisa » Tue, 08 Jan 2002 10:37:39


Make sure that $JAVA_HOME/bin is in your path, you'll also have to set
$CLASSPATH to include ifxjdbc.jar and your current path ".".

Hope this helps.
Jose


> I have installed Informix Dynamic Server v 9.21 on Windows 2000, but am
> unable to install JDBC for infomix. I ran ... java setup, but get the
> following message:

> "The installation program has determined that your system does not have the
> virtual machine required to run Informix JDBC Driver Version 1.50.JC1. You
> need. Java 1.1 on any OS from any vendor"

> The JRE exists in "d:\informix\krakatoa\jre". And, Java is installed in
> "c:\Program Files\jbuilder5\jdk1.3". Furthermore I have set the JAVAHOME
> environment to "c:\Program Files\jbuilder5\jdk1.3". Any suggestions would be
> gratefully received.

> Regards Brett


 
 
 

Can't Install JDBC For Informix

Post by Tsutomu Ogiwar » Wed, 09 Jan 2002 14:14:43


Hi Brett.

I have a similar experience.

Try silently install.

To silently install Informix JDBC Driver on Windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1. If you are installing from a CD, load the disc into the CD-ROM drive.

   If you are downloading the driver from the Web, download the
   "setup.class" file into a temporary directory.
   Note that this temporary directory should not be the same as the
   installation directory (%IFXJLOCATION%).

2. Using Windows Explorer, create a directory to hold the contents of
   the driver.

   Assume, for this example, that the new directory is called
   "c:\work\ifxjava_home."

3. Change directory to either the CD-ROM drive, if you are installing
   from a CD, or the temporary directory that contains the downloaded
   "setup.class" file, if you are downloading the driver from the Web.

4. Execute the following command at the Windows command prompt:

      java setup -o <directory> -D serialNo=<serial_no> key=<key>

   where "directory" refers to the directory that will hold the
   contents of the driver (created in Step 3 of these instructions)
   and "serial_no" and "key" refer to the installation serial number
   and key.

   The keywords "serialNo" and "key" are case sensitive. You can also
   use the keywords "SERIALNO," "serialno," and "KEY".

   For example, to install in the directory
   "c:\work\ifxjava_home" using a serial number of INF#J123456 and
   a key of ABCDEF, execute the following command:

      java setup -o c:\work\ifxjava_home -D serialNo=INF#J123456 key=ABCDEF

   If the directory already contains the product files, the
   command asks you if you want to overwrite them.

   The installation is complete once the command has finished
   executing.

Regards.


Quote:>I have installed Informix Dynamic Server v 9.21 on Windows 2000, but am
>unable to install JDBC for infomix. I ran ... java setup, but get the
>following message:

>"The installation program has determined that your system does not have the
>virtual machine required to run Informix JDBC Driver Version 1.50.JC1. You
>need. Java 1.1 on any OS from any vendor"

>The JRE exists in "d:\informix\krakatoa\jre". And, Java is installed in
>"c:\Program Files\jbuilder5\jdk1.3". Furthermore I have set the JAVAHOME
>environment to "c:\Program Files\jbuilder5\jdk1.3". Any suggestions would be
>gratefully received.

>Regards Brett

--
Tsutomu Ogiwara

INFORMIX PROFESSIONAL SERVICES
DATABASE BUSINESS DEPT.
ITOCHU TECHNO-SCIENCE Corporation
KURITA-KUDAN BLDG., 1-11-15, FUJIMI,
CHIYODA-KU TOKYO,102-0074 JAPAN

 
 
 

Can't Install JDBC For Informix

Post by Tsutomu Ogiwar » Wed, 09 Jan 2002 14:16:05


Hi Brett.

I have a similar experience.

Try silently install.

To silently install Informix JDBC Driver on Windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1. If you are installing from a CD, load the disc into the CD-ROM drive.

   If you are downloading the driver from the Web, download the
   "setup.class" file into a temporary directory.
   Note that this temporary directory should not be the same as the
   installation directory (%IFXJLOCATION%).

2. Using Windows Explorer, create a directory to hold the contents of
   the driver.

   Assume, for this example, that the new directory is called
   "c:\work\ifxjava_home."

3. Change directory to either the CD-ROM drive, if you are installing
   from a CD, or the temporary directory that contains the downloaded
   "setup.class" file, if you are downloading the driver from the Web.

4. Execute the following command at the Windows command prompt:

      java setup -o <directory> -D serialNo=<serial_no> key=<key>

   where "directory" refers to the directory that will hold the
   contents of the driver (created in Step 3 of these instructions)
   and "serial_no" and "key" refer to the installation serial number
   and key.

   The keywords "serialNo" and "key" are case sensitive. You can also
   use the keywords "SERIALNO," "serialno," and "KEY".

   For example, to install in the directory
   "c:\work\ifxjava_home" using a serial number of INF#J123456 and
   a key of ABCDEF, execute the following command:

      java setup -o c:\work\ifxjava_home -D serialNo=INF#J123456 key=ABCDEF

   If the directory already contains the product files, the
   command asks you if you want to overwrite them.

   The installation is complete once the command has finished
   executing.

Regards.


Quote:>I have installed Informix Dynamic Server v 9.21 on Windows 2000, but am
>unable to install JDBC for infomix. I ran ... java setup, but get the
>following message:

>"The installation program has determined that your system does not have the
>virtual machine required to run Informix JDBC Driver Version 1.50.JC1. You
>need. Java 1.1 on any OS from any vendor"

>The JRE exists in "d:\informix\krakatoa\jre". And, Java is installed in
>"c:\Program Files\jbuilder5\jdk1.3". Furthermore I have set the JAVAHOME
>environment to "c:\Program Files\jbuilder5\jdk1.3". Any suggestions would be
>gratefully received.

>Regards Brett

--
Tsutomu Ogiwara

INFORMIX PROFESSIONAL SERVICES
DATABASE BUSINESS DEPT.
ITOCHU TECHNO-SCIENCE Corporation
KURITA-KUDAN BLDG., 1-11-15, FUJIMI,
CHIYODA-KU TOKYO,102-0074 JAPAN

 
 
 

Can't Install JDBC For Informix

Post by Chris Golledg » Sat, 12 Jan 2002 13:14:54


I'm kind of wondering why you are trying to install the 1.50.JC1 driver.  I
was under the impression that that version was only available so that
customers on platforms where there was no 1.2 or higher JDK/JRE would not be
out of luck.  If you have JDK 1.3 available, why not use JDBC 2.20?

If you really need the 1.50 JDBC, I think there is a way to fake out the
driver with something like

java -e VERSION=1.1 setup

Just my two cents,
Chris


Quote:> I have installed Informix Dynamic Server v 9.21 on Windows 2000, but am
> unable to install JDBC for infomix. I ran ... java setup, but get the
> following message:

> "The installation program has determined that your system does not have
the
> virtual machine required to run Informix JDBC Driver Version 1.50.JC1. You
> need. Java 1.1 on any OS from any vendor"

> The JRE exists in "d:\informix\krakatoa\jre". And, Java is installed in
> "c:\Program Files\jbuilder5\jdk1.3". Furthermore I have set the JAVAHOME
> environment to "c:\Program Files\jbuilder5\jdk1.3". Any suggestions would
be
> gratefully received.

> Regards Brett