|
Help! How do I get the code? What do I need?
- For Windows platforms, refer to the IBM Development Package for Eclipse.
- For AIX developer kit 1.3.1 GA, AIX 4.2.1 or later, you'll need 100 MB of free disk space, and at least 64 MB of RAM.
- For Linux platforms, you'll need an Intel-compatible processor (486 or better; Pentium or better recommended); 9 MB of disk space to download, 30 MB to uncompress; 32 MB RAM; and a display that is suitable for X-Window usage (see those distributions that have been tested).
- For OS/390: Java for OS/390 runs under the version of OS/390's UNIX Services (also known as OS/390 OpenEdition) which is included in OS/390 Release 1 or above. You also need TCP/IP (with the X-Window System feature if you intend to use the windowing support).
What does "unable to initialize threads" mean?
It usually means either that your classes.zip file is in the wrong place, or that it is not correctly pointed to by your CLASSPATH setting. (Or both!)
Where are the JDBC drivers?
JDBC drivers for Java applications and applets, for several platforms, are now distributed as a part of
our DB2 Product Family.
For DB2/400 data you can use the Toolbox for Java.
JavaSoft keeps a helpful list of JDBC drivers for many other
platforms/vendors. And here are their useful notes about
the JDBC Database access API (and downloadable sets of class files).
Why don't I need to unzip classes.zip?
Java was designed around long file names, and most of the system class files (such as InputStream.class) cannot
be named under the earlier FAT 8.3 naming system. So, to be able to run the Java virtual machine on a FAT file system, all
the system class files are zipped into a single file (classes.zip) and then loaded directly from that. On an HPFS machine, you
can unzip this file, but there's no reason to.
What's causing "Class not found" messages?
First, how did you port the (seemingly missing) class files to your target machine? You need to transfer them in binary mode.
When Java goes to find a class, it will look for a file with the name of the class, suffixed with .class. If it
finds the file, it will then check the contents. If the file's contents have become corrupted, Java will report a "Class not
found" error.
Second, are these (seemingly missing) classes a member of a package? If they are, Java will expect to find them in a directory
of the same name as the package, with CLASSPATH pointing to the root of this package hierarchy.
Can I get around the apparent need for 256 colors?
Your system must be capable of displaying at least 256 colors to run applets or windowed Java apps. Console applications (such
as the javac compiler) are not affected by this limit. (All JDKs based on Sun's code have this restriction.)
In other words, I'm afraid the answer is mostly "No" -- sorry! You will not be able to run windowed apps, but you'll be able to
compile and develop them.
Can you tell me about the status of object serialization?
The serialization functions are all now available.
Why am I experiencing hangs with the Socket/InetAddress classes?
When trying to resolve an InetAddress, like so:
Socket s = new Socket("my.host.com");
or
InetAddress a = InetAddress.getByName("my.host.com");
your program may hang. This is due to a DNS reverse name lookup problem.
You will have to ask your local DNS administrators to fix their DNS!
What is a Just-In-Time compiler?
A Just-In-Time compiler (or JIT for short) compiles Java bytecode to
native machine code at runtime. So, when you execute your Java classes
via a command like this:
java Foo
instead of the Java interpreter (java) interpreting the bytecodes in
Foo.class, the JIT (built into the interpreter) compiles the bytecodes
to native instructions so that the operating system can execute these
instructions without the performance degradation usually experienced
with bytecode interpretation. The result is a boost in performance.
|