[ previous section | contents | next section ]
Problems?
If the 'Welcome.pad' example doesn't work, one of the following problems may be the cause:
- A "Can't find class devPad.devPadMain..." message probably means that the devPad.zip file has not been specified in your CLASSPATH setting. This is the setting that Java uses to find classes for execution; please refer to your Java installation instructions for information on setting the CLASSPATH.
- You didn't install on a file system that supports long file names (for example, on OS/2 or Windows you should use an HPFS disk or equivalent). Like most Java applications, devPad uses long file names.
- You have a down-level Unzip or Tar program. Check that the file 'devPad.properties', with just one capital letter and neither part of the name truncated, exists in the subdirectory 'lib' below the Java home directory.
- You have only the Java runtime installed, and not the toolkit. If the toolkit is installed, you should have a program called javac on your computer.
- "Exception in thread 'main' java.lang.NoClassDefFoundError: netrexx/lang/Rexx..." message probably means that you didn't install the NetRexx toolkit and/or runtime.
- You have a down-level version of Java installed. devPad will run on Java versions 1.0.1, 1.0.2 (and probably later versions). You can check the version of Java you have installed using the command 'java -version'.
- You are getting OutOfMemoryExceptions. When browsing large hierarchies, it is possible to exceed the default maximum memory size available (16Mb). To overcome this limit, define a bigger heap (the procedure to achieve that is environment-depent, but you usually have to add a '-mxnnm' statement on the java invocation line, for example 'java -mx32m devPad.devPadMain foo.pad').
[ previous section | contents | next section ]
Copyright (c) Martin Lafaix, 1998. All rights reserved. ©