Csound Csound-dev Csound-tekno Search About

HPKComposer setup

Date1998-10-13 17:03
FromLemoine Jean-Pierre
SubjectHPKComposer setup
HPKcomposer setup isn't easy. I am building a new version with new features
that will be delivered when the jdk 1.2 will be available ans setup should
be easier. Now, back to the current version. First of all, it is running on
w95, w98, nt 4.0 and Linux. If HPKComposer isn't running, it's generally
because of a Java classpath problem.
JDK 1.1.6 or JRE 1.1.6 must be installed on your PC. So far, I don't think
jdk 1.1.7 as a problem, but I haven't tested it. Then the current version
that is on the server requires Swing 1.1 beta3, other levels won't work.
Here is how to setup without the Java Media Framework installed and used.

JDK installed in the directory c:\jdk1.1.6
Swing 1.1 beta3 in the directory c:\java\swing-1.1beta3
HPKComposer installed in the directory c:\hpkc
The classpath must be
".;c:\jdk1.1.6\lib\classes.zip;c:\java\swing-1.1beta3\swingall.jar;c:\hpkc\hpkc.jar"

JRE  installed
Swing 1.1 beta3 in the directory c:\java\swing-1.1beta3
HPKComposer installed in the directory c:\hpkc
The classpath must be
".;c:\java\swing-1.1beta3\swingall.jar;c:\hpkc\hpkc.jar"

The classpath is case sensitive. It's very important to respect the case.
In fact, some information in the classpath are redondant. If the JDK has
been correctly installed, you don't need to specify classes.zip.
Thus the following classpath works in every case:
".;c:\java\swing-1.1beta3\swingall.jar;c:\hpkc\hpkc.jar"

Error message  "Exception in thread "main" java.lang.NoClassDefFoundError:
                        javax/swing/UIManager
            at commonView.CSoundApplication.main(CSoundApplication.java)"
The swingall.jar isn't in the classpath or the level of Swing isn't 1.1
beta3


Date1998-10-14 20:58
FromJens Reimer
SubjectRe: HPKComposer setup
On Tue, 13 Oct 1998 18:03:06 +0200, you wrote:
hurray,
i managed it to work.
thanks for the help.

>HPKcomposer setup isn't easy. I am building a new version with new features
>that will be delivered when the jdk 1.2 will be available ans setup should
>be easier. Now, back to the current version. First of all, it is running on
>w95, w98, nt 4.0 and Linux. If HPKComposer isn't running, it's generally
>because of a Java classpath problem.
>JDK 1.1.6 or JRE 1.1.6 must be installed on your PC. So far, I don't think
>jdk 1.1.7 as a problem, but I haven't tested it. Then the current version
i use 1.1.7 and it works.

>that is on the server requires Swing 1.1 beta3, other levels won't work.
>Here is how to setup without the Java Media Framework installed and used.
where can i get this                     °°°°°°°°°°°°°°°°°°°°°°°°°°°

>The classpath is case sensitive. It's very important to respect the case.
>In fact, some information in the classpath are redondant. If the JDK has
>been correctly installed, you don't need to specify classes.zip.
>Thus the following classpath works in every case:
>".;c:\java\swing-1.1beta3\swingall.jar;c:\hpkc\hpkc.jar"
>
>Error message  "Exception in thread "main" java.lang.NoClassDefFoundError:
>                        javax/swing/UIManager
>            at commonView.CSoundApplication.main(CSoundApplication.java)"
>The swingall.jar isn't in the classpath or the level of Swing isn't 1.1
>beta3
>
>
the main fault was my incorrect pathsettings.
case sensitive!!!!!
e.g 
the device d: should have written as D:\
silly!!

PS:
does the java and swing path setting in autoexec.bat work under win95?
 
Und Tschüss
Jens Reimer

Email:
jens.reimer@t-online.de