Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Cannot Extract Jconnect files

5 posts in JDBC Connect (product renamed to JConnect) Last posting was on 1997-06-20 15:25:23.0Z
Ian Martin Posted on 1997-06-11 20:26:41.0Z
Message-ID: <339F0A01.3237@fnma.com>
Date: Wed, 11 Jun 1997 16:26:41 -0400
From: Ian Martin <ian_martin@fnma.com>
Reply-To: ian_martin@fnma.com
Organization: Fannie Mae
X-Mailer: Mozilla 3.01 (WinNT; I)
MIME-Version: 1.0
Subject: Cannot Extract Jconnect files
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 17
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:702
Article PK: 252453

I've just downloaded the jconnect.class file as well as the JDK 1.02
from Sun.

I'm following the installation directions for installing jConnect, but
I'm stuck at step 4:

I'm supposed to type:

java -classpath .:%JAVA_HOME%\lib\classes.zip jConnect

to Extract the jConnect files.

However I get the following error message:

"Unable to initialize threads: cannot find Class java\lang\Thread"

Why is it that the jConnect.class file has to be run in order extract
jConnect files? Also, the JDK does not have a Thread.class file, there
is only a Thread.java file under %JAVA_HOME%\src\java\lang

Why would that error arise?


David Pasek Posted on 1997-06-20 15:25:23.0Z
Message-ID: <33AAA0E3.78F2@mbox.vol.cz>
Date: Fri, 20 Jun 1997 17:25:23 +0200
From: David Pasek <pasek@mbox.vol.cz>
Reply-To: pasek@mbox.vol.cz
Organization: Video On Line
X-Mailer: Mozilla 3.01 (Win95; I)
MIME-Version: 1.0
Subject: Re: Cannot Extract Jconnect files
References: <339F0A01.3237@fnma.com>
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 30
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:657
Article PK: 252409

I had some problem. When I have unziped classes.zip (CLASSES for JDK)
it work.

So, try unzip JDK_HOME/classes.zip

Ian Martin wrote:
>
> I've just downloaded the jconnect.class file as well as the JDK 1.02
> from Sun.
>
> I'm following the installation directions for installing jConnect, but
> I'm stuck at step 4:
>
> I'm supposed to type:
>
> java -classpath .:%JAVA_HOME%\lib\classes.zip jConnect
>
> to Extract the jConnect files.
>
> However I get the following error message:
>
> "Unable to initialize threads: cannot find Class java\lang\Thread"
>
> Why is it that the jConnect.class file has to be run in order extract
> jConnect files? Also, the JDK does not have a Thread.class file, there
> is only a Thread.java file under %JAVA_HOME%\src\java\lang
>
> Why would that error arise?

--
---------------------------------------------------------------------
David Pasek E-mail: pasek@vol.cz
Video On Line Tel.: (02) 218.44.334
Burzovni Palac Fax.: (02) 218.44.335
Rybna 14, 110 00 Praha 1 WWW : http://www.vol.cz/
---------------------------------------------------------------------


Lance Andersen Posted on 1997-06-12 14:37:50.0Z
Message-ID: <33A009BE.4D61@sybase.com>
Date: Thu, 12 Jun 1997 10:37:50 -0400
From: Lance Andersen <lancea@sybase.com>
X-Mailer: Mozilla 3.01Gold (X11; I; SunOS 5.5.1 sun4m)
MIME-Version: 1.0
To: ian_martin@fnma.com
Subject: Re: Cannot Extract Jconnect files
References: <339F0A01.3237@fnma.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 33
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:699
Article PK: 252451

On a unix box, the syntax is:
java -classpath .:$JAVA_HOME/lib/classes.zip jConnect


make sure that you set $JAVA_HOME to point to your java directory

Ian Martin wrote:
>
> I've just downloaded the jconnect.class file as well as the JDK 1.02
> from Sun.
>
> I'm following the installation directions for installing jConnect, but
> I'm stuck at step 4:
>
> I'm supposed to type:
>
> java -classpath .:%JAVA_HOME%\lib\classes.zip jConnect
>
> to Extract the jConnect files.
>
> However I get the following error message:
>
> "Unable to initialize threads: cannot find Class java\lang\Thread"
>
> Why is it that the jConnect.class file has to be run in order extract
> jConnect files? Also, the JDK does not have a Thread.class file, there
> is only a Thread.java file under %JAVA_HOME%\src\java\lang
>
> Why would that error arise?

--
===============================================================================
Lance J. Andersen Email: lancea@sybase.com
Sybase Technical Support Phone:(617) 564-6336
77 South Bedford Street Fax: (617) 564-6148
Burlington, MA 01803

The Dark Knight Returns!!! Let's Go Penguins!!!
===============================================================================


Brett Langston Posted on 1997-06-13 18:27:00.0Z
Message-ID: <33A190F4.AF264915@zodiac.cs.newpaltz.edu>
Date: Fri, 13 Jun 1997 14:27:00 -0400
From: Brett Langston <langst00@zodiac.cs.newpaltz.edu>
Reply-To: brettl@hotmail.com
X-Mailer: Mozilla 4.0b5 [en] (Win95; I)
MIME-Version: 1.0
Subject: Re: Cannot Extract Jconnect files
X-Priority: 3 (Normal)
References: <339F0A01.3237@fnma.com> <33A009BE.4D61@sybase.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 45
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:689
Article PK: 252441

I'm also having the same problem installing jConnect. I'm trying to
install it on a Win95 machine with JDK 1.02. I am using the same
command line as Ian Martin below, namely

java -classpath .:%JAVA_HOME%\lib\classes.zip jConnect

This is the command line that is supposed to be used, according to the
installation instructions. When it is run, java gives the error

"Unable to initialize threads: cannot find Class java\lang\Thread"

I've looked the command line over several times, tried different
variations, all to no avail. The JAVA_HOME environment variable is set
correctly before invoking the command.

Has anyone else experienced this problem when installing jConnect on a
Win95 machine using JDK 1.02? Any help would be appreciated...

- Brett Langston

------------------------------------

Lance Andersen wrote:
>
> On a unix box, the syntax is:
> java -classpath .:$JAVA_HOME/lib/classes.zip jConnect
>
> make sure that you set $JAVA_HOME to point to your java directory
> Ian Martin wrote:
> >
> > I've just downloaded the jconnect.class file as well as the JDK 1.02
> > from Sun.
> >
> > I'm following the installation directions for installing jConnect, but
> > I'm stuck at step 4:
> >
> > I'm supposed to type:
> >
> > java -classpath .:%JAVA_HOME%\lib\classes.zip jConnect
> >
> > to Extract the jConnect files.
> >
> > However I get the following error message:
> >
> > "Unable to initialize threads: cannot find Class java\lang\Thread"
> >
> > Why is it that the jConnect.class file has to be run in order extract
> > jConnect files? Also, the JDK does not have a Thread.class file, there
> > is only a Thread.java file under %JAVA_HOME%\src\java\lang
> >
> > Why would that error arise?


Lance Andersen Posted on 1997-06-13 18:47:36.0Z
Message-ID: <33A195C8.1722@sybase.com>
Date: Fri, 13 Jun 1997 14:47:36 -0400
From: Lance Andersen <lancea@sybase.com>
X-Mailer: Mozilla 3.01Gold (X11; I; SunOS 5.5.1 sun4m)
MIME-Version: 1.0
To: brettl@hotmail.com
Subject: Re: Cannot Extract Jconnect files
References: <339F0A01.3237@fnma.com> <33A009BE.4D61@sybase.com> <33A190F4.AF264915@zodiac.cs.newpaltz.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 64
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:687
Article PK: 252439

Hi Brett,

You need to change the ":" to ";"

If you can compile other java programs and run them.

simply type java jConnect

the -classpath assumes that have not set the CLASSPATH variable
or PATH variable properly.

Brett Langston wrote:
>
> I'm also having the same problem installing jConnect. I'm trying to
> install it on a Win95 machine with JDK 1.02. I am using the same
> command line as Ian Martin below, namely
>
> java -classpath .:%JAVA_HOME%\lib\classes.zip jConnect
>
> This is the command line that is supposed to be used, according to the
> installation instructions. When it is run, java gives the error
>
> "Unable to initialize threads: cannot find Class java\lang\Thread"
>
> I've looked the command line over several times, tried different
> variations, all to no avail. The JAVA_HOME environment variable is set
> correctly before invoking the command.
>
> Has anyone else experienced this problem when installing jConnect on a
> Win95 machine using JDK 1.02? Any help would be appreciated...
>
> - Brett Langston
>
> ------------------------------------
> Lance Andersen wrote:
> >
> > On a unix box, the syntax is:
> > java -classpath .:$JAVA_HOME/lib/classes.zip jConnect
> >
> > make sure that you set $JAVA_HOME to point to your java directory
> > Ian Martin wrote:
> > >
> > > I've just downloaded the jconnect.class file as well as the JDK 1.02
> > > from Sun.
> > >
> > > I'm following the installation directions for installing jConnect, but
> > > I'm stuck at step 4:
> > >
> > > I'm supposed to type:
> > >
> > > java -classpath .:%JAVA_HOME%\lib\classes.zip jConnect
> > >
> > > to Extract the jConnect files.
> > >
> > > However I get the following error message:
> > >
> > > "Unable to initialize threads: cannot find Class java\lang\Thread"
> > >
> > > Why is it that the jConnect.class file has to be run in order extract
> > > jConnect files? Also, the JDK does not have a Thread.class file, there
> > > is only a Thread.java file under %JAVA_HOME%\src\java\lang
> > >
> > > Why would that error arise?

--
===============================================================================
Lance J. Andersen Email: lancea@sybase.com
Sybase Technical Support Phone:(617) 564-6336
77 South Bedford Street Fax: (617) 564-6148
Burlington, MA 01803

The Dark Knight Returns!!! Let's Go Penguins!!!
===============================================================================