Link to home
Start Free TrialLog in
Avatar of dnash
dnash

asked on

Corel Office for Java will not run under OS/2 Warp 4

When I attempt to load the Corel Office for Java (COJ) beta
using Shell.html, Netscape 2.02 for OS/2 gives the
following error in the Java console:

 Applet exception: error:
corel/af/persist/ServerCredentials
java.lang.NoClassDefFoundError:
corel/af/persist/ServerCredentials
      at DisplayPanel.<init>(Compiled Code)
      at CorelDesktop.init(Compiled Code)
      at ibm.JEmpower.AppletFrame.run(Compiled Code)
      at java.lang.Thread.run(Compiled Code)

I get the same error when using applet.exe to load
Shell.html. I have JDK 1.02 for OS/2 installed on Warp 4
with Fixpak 1. Others have suggested that this is a
classpath problem. I have both the path to COJ and to
classes.zip entered correctly in my set classpath
statement, so I do not think this is a classpath problem.

Daryl Nash

dnash@das9.cas.psu.edu
Avatar of aruns
aruns

What are the contents of the COJ directory? (specially the zip files if any are existent)
Avatar of dnash

ASKER

The COJ directory does not contain any zip files. Most of the
files are class files.
Avatar of dnash

ASKER

aruns comment about zip file contents in the COJ directory led
me to the solution. COJ would not run because I had unzipped it
without any directory paths. After discovering that coj.zip had
directory paths stored in it, I deleted all 4000 files in the
old COJ directory, and unzipped it again with paths. COJ works
now, of course. Thanks.
ASKER CERTIFIED SOLUTION
Avatar of aruns
aruns

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dnash

ASKER

coj.zip contains all the files, not just the class files for
COJ. Corel's installation instructions are to unzip this file to
a directory. The classpath statement then needs to contain the
COJ directory and the directory path to classes.zip. For some
reason, when I first unzipped coj.zip it did not create the
subdirectories needed, instead it placed all the files in one
directory. So, when I started COJ it was looking for files in
directories which did not exist. When you asked about the
contents of zip files, I looked at coj.zip in an archive viewer
and found all these subdirectories which my first installation
did not produce for some reason. Thanks again.