Express FAQ

Updated 4/14/96

Express Related FAQ


1. Will Express run on Windows NT 4.0?

Express was developed for Windows 95 and NT 3.51. ModelWorks has done limited testing of Express with Windows NT 4.0 Beta and did not find any major problems.

2. Will Express run on Windows 3.1 or Windows NT 3.5?

No, Express was developed for Windows 95 and NT 3.51. There are no plans to support these operating systems.


VRML Related FAQ


1. What's the relationship between the Express editor and the VRML editor?

The Express editor creates and uses Express files (.vxr files) and generates a VRML file (.wrl file) from the Express file. Express files allow expressions to be included in VRML code. Use the Build VRML command to generate a VRML file.

2. Why does Express editor ask me to save a file as an Express file (.vxr file) when I choose the Build VRML command?

Express communicates with its parser by passing an Express file, so if you have just created a new Express file it must be given a name and saved before the Build VRML command can be completed. Also to make sure that your files are safe, Express always does a save all before invoking an operation on any file. So if you have created several files but not saved them a first time, Express will ask you to save each of these files.

3. How come some of the examples work better in one browser?

The simple answer is that browser arthors interprete the VRML specification differently. Another factor is the underlying graphics engine and the platform. This is a major problem for authors and hopefully will be corrected by VRML 2.0 to some extent. However, a high end graphics machine from SGI or even a high end PC with hardware acceleration are allways going produce different results than a normal PC. For the foreseeable future authors will need to test their VRML against the common browsers.

4. What are the examples included with Express suppost to show?

See Examples.html


Java Related FAQ

1. Do I need set the CLASSPATH environment variable in order to use Express?

No, Express uses the -classpath command line parameter to pass information to Java tools. However, if you are using other environments in addition to Express, such as Netscape, you may need to set the CLASSPATH environment variable. You may also need to set the CLASSPATH if you are using the Run Applet command. See below.

2. I just installed Express but the Compile menu is disabled. What's wrong?

If the Compile menu is disabled then that means that Express cannot find javac.exe (the JDK compiler). To correct this you need to tell Express where the java directory is located. First open Express and then choose the Java Directory menu item from the Java menu. Then click browse and then open your java directory.

Note: your java directory is the directory with a bin and lib subdirectory. The bin directory should contain javac.exe along with all the other JDK tools.

3. I just tried to compile my first program but I get errors saying that one or more built-in java classes cannot be found? What's wrong?

If built-in java classes cannot be found it means that the classes.zip entry in the Express Package Directories dialog does not identify a valid file. To correct this choose the menu item Packages Directories from the Java menu and double click on the entry classes.zip and edit. For example, if your Java Directory is D:\java then the entry for classes.zip file should be D:\java\lib\classes.zip. To check that this is working open the HelloWorld.java file in Express Examples directory, compile and then run. You should not get any errors while compiling and should see the message "Hello World" when you run the HelloWorld application.

4. I'm trying to setup Express but I can't find the classes.zip file in my JDK. Where is the classes.zip file?

Most likely you have a earlier version of JDK. To check find the file javac.exe and check the date. If it was created before January 1996 then you do not have a current version of JDK. You need to download the latest version from Sun before you can use Express.

5. I'm trying to build my own Java package, but the compiler cannot find my classes. What's wrong?

The first thing to check is to make sure that you have an entry in the Express Package Directories dialog for the top folder containing your package. If you are defining subpackages then you also need to make sure that the folder structure matches the package structure. That's because JDK tools looks for a package by finding the corresponding folder starting with one of the entries in the Express Package Directories dialog. For example, the package MyPackage.First should have a folder \MyPackage\First\ and the Express Package Directories dialog should have an entry for the folder containing the folder MyPackage. For example, if MyPackage is a folder in the Express folder then the entry would be C:\Express

6. When I try to run an applet, Express displays a command line dialog. What should I enter on the command line?

You should enter the URL of a html file that will test your applet. For example to run the example applet you would enter the following:

file:<path to your Express directory>/Express/Applet/Hello.html

For example, if Express is installed in C:\Express then the URL is file:C/Express/Applet/Hello.html. Note that the directory separator is a forward slash rather than the usual Windows backward slash.

7. When I try to run an applet using Express, I get errors saying that one or more classes cannot be found? What's wrong?

JDK's appletviewer is an exception to the other JDK tools in that it does not accept a classpath command line parameter. The simplest solution is to put all your applet classes in one folder together with your html test file(s) and to run the applet only when you have the source for one of your applets displayed in the front window. The other solution is to set the CLASSPATH environment variable to include the paths to your applet classes.

8. My applet runs just fine under Express but it does not seem to run when I open my html page using a browser. What's wrong?

Check your browser documentation to see what you need to do to set it up to run Java applets.

9. Can I use Express with JDK Beta 2?

The Java editor in Express was built for JDK 1.0 and we recommend that you use JDK 1.0 or later. However if you must use JDK Beta 2 it appears, based on limited testing, that Express is compatible.

10. I'm trying to compile my first Java class and Express stops responding or I get a system error message. What wrong?

The most likely source of this problem is that you have something wrong with your JDK. Here are some things to check and do:

a) Is your distribution file OK? Sun recommends that you make sure that the size of the downloaded file is correct. See Sun's JDK site for more infomation

b) Do you have multiple JDK's installed? If so remove all but the latest.

c) If your distribution file looks OK try reinstalling JDK

d) If all else fails then get a new copy of JDK and try reinstalling.

11. How can I see or change the command line parameters that Express passes to the JDK tools?

If you need to see or change the command line arguments that Express passes to the Java tools hold down the shift key while choosing a Java menu item


Copyright © 1996, ModelWorks Software. All rights reserved. VRML Express is a trademark of ModelWorks Software. Java is a trademark of Sun Microsystems, Inc. Windows is a registered trademark of Microsoft Corporation.