2) Install JDK HTML documentation after downloading the documents
http://www.javasoft.com
3) If you want bean support download the latest release of BDK and install BDK.
O How do I install Kawa ?
------------------------------
1) Download Kawa from our Web site http://www.tek-tools.com/kawa and execute the downloaded file to
auto start the setup. If you have an installed version of Kawa please download the 2.52 upgrade
otherwise download the full install. If you are upgrading please install Kawa over the
previous release in the same directory.
Kawa uses JDK to compile and execute Java programs. It is important to setup the PATH and CLASSPATH
values correctly for JDK before trying to compile or execute programs from within Kawa. Following is
the setup required for JDK 1.1.2 or greater in order to compile and run Java files from within Kawa.
Please refer to JDK README for any last minute changes with new JDK release on these requirements.
Win 95 -
---------
- Please make sure there is only one version of JDK installed and it is 1.1.2 or greater.
- Please add \java\bin to path variable in the autoexec.bat file as the first value in the path list. For example,
if your JDK is installed in the directory c:\java please add c:\java\bin to path variable as the first value
of the path variable. With this setting in the autoexec.bat path there is no need to set the path for Java
programs directory in the Customize/Options/Directories dialog box under Kawa.
Example : set path = c:\java\bin;%PATH%
It is important to have the \java\bin as the first variable in the path because if you have installed other JDKs
this will ensure that the JDK from Sun will be found first.
Win NT -
---------
- Please make sure there is only one version of JDK is installed and it is 1.1.2 or greater.
- Please add \java\bin to path variable under System environment in Control Panel as the first value in the path list.
For example, if your JDK is installed in the directory c:\java please add c:\java\bin as the first value of the path
variable. With this setting in the path there is no need to set the path for Java programs directory in the
Customize/Options/Directories dialog box under Kawa. It is important to have the \java\bin as the first variable in
the path because if you have installed other JDK's this will ensure that the JDK from Sun will be found first.
If you are still having problems compiling, executing or running GUI
builder from within Kawa please send an email to kawa@tek-tools.com with a
copy of your autoexec.bat file for 95 and a copy of your set command output
from a DOS console under NT. Just type SET from DOS console to print all
the system variable values and redirect the output to a file using >>
operator or copy the output from the screen and paste it into an email.
O Some common Setup questions
---------------------------------
Q) I get a javai_g.dll message not found when Kawa starts up. What should I do ?
A) This is the DLL used by Kawa native debugger. This DLL is part of JDK 1.0.x and JDK 1.1.x. Please makes sure you have
the system PATH variable pointing to jdk\bin and the Java/Bin directory under Customize/Options/Directories are setup
correctly. Restart computer if necessary and restart Kawa. If the message does not go away then either this DLL is missing
from JDK/bin directory or you have only JDK 1.2 (beta) installed on your computer. Kawa native debugger still does not
support JDK 1.2 (beta) even though Kawa supports all other functionalities like compilation etc.. If you have only JDK 1.2
installed please neglect this message. We will try and support JDK 1.2 (beta) with the native debugger as quickly as we
can.
Q) Why does my dial up networking dialog pop up when I start the Kawa native debugger ?
A) Kawa native debugger uses the JDK debugger API which requires a TCP/IP stack to be installed. If you are on a dial up
networking here is a solution as copied from a Java newsgroup discussion which seems to work pretty well -
Java has networking support built in. When the Java program
starts the Winsock dll automatically gets loaded. The first thing
this does is to try to resolve the fully qualified domain name for
your machine under the name "localhost". If your system doesn't
have this name mapped, it will try to query a nameserver on the
internet, which is typically (on a PC) your dialup ISP. So it
either prompts you to connect to the ISP, or waits till the
attempt times out.
You can avoid the problem by giving your system another way to
resolve DNS names. Edit the hosts file for your system (found in
%windir%\hosts on Win95 and %windir%\system32\drivers\etc\hosts on
NT) so that localhost and the full domain name are both mentioned.
So if my system is called goober.best.com change the hosts file
from
127.0.0.1 localhost
to
127.0.0.1 goober.best.com localhost
[If any networking gurus have improvements to this process,
send'em in!]
There is a longer, different procedure at
http://www.best.com/~pvdl Please send me mail (pvdl@best.com) if
either or both of these work or don't work for you, so I can
update the FAQ.
Q) I cannot compile a Java file from within Kawa...
A) Please refer to JDK PATH requirements in the above paragraph for this problem.
Q) I cannot execute a Java class file from within Kawa project
A) If your class file is not in the same directory as the Kawa project and if the class file's path is not in the system
CLASSPATH variable then you will not be able to run the class file. Kawa issues the java command to run a class
file from the same directory as the Kawa project. Therefore, it is important to make sure the class file you
are trying to run is in the same directory as Kawa project or it's path is in the CLASSPATH variable.
Q) When I try to load Help item I get an application error and Kawa exits...
A) This happens when some of the OLE DLLs are not the latest. Please follow
these steps to fix this problem.
Please go to Kawa download area at http://www.tek-tools.com/kawa/evaldown.htm and download the file
oadist.exe from System Patches section at the bottom of the page. The same file can alse be downloaded
from Microsoft site from their Windows 95 download section. Please execute this file after downloading
to upgrade some OLE DLLs on your computer. This will fix the HTML display problem.
Q) I get "Unsupported action performed" error when I try to display Help under Kawa...
A) This happens if the HTML OCX from Kawa is not registered during Setup for some reason. Please exit
to DOS console and change directory to Kawa directory and issue the command "regsvr32 WebPro32.ocx"
and you should get the message "csweb32.ocx registered successfully !!!" This will fix the help
display problem.
Q) My Help/Search dialog box is empty or my customized user index tab is empty
A) Please make sure Kawa Program path under Options/Directory is set correctly to Kawa program directory.
This is very important for many settings to work right including the Kawa GUI builder.
Q) When I run Kawa I have the icons Kawa.bns on my desktop...
A) This can happen if the start in directory option for the menu shortcut is not pointing to Kawa installation
directory.
Q) When I try to introspect beans under Kawa I get the error "java.lang.NoClassDefFoundError: sun/beanbox/Jarloader"
A) Please make sure CLASSPATH points to the directory ..\bdk\beanbox\classes directory.
Q) Where can I get the help index files and package files for JDK 1.2 and swing?
A) Please download the file http://www.tek-tools.com/kawa/bin/kawafiles.zip and read the instructions.
Q) I have JDK1.2beta4 installed and the paths set. Why can't I debug with the JDK?
A) For programs to be debugged in JDK1.2, they must be compiled by 1.2. Make sure the program has been compiled with JDK1.2 with the appropriate debugger settings.
Q) I keep getting the error "Cannot Create redirect file" when compiling. How do I fix it?
A) Check the TMP and TEMP environment variables. This is where the operating system wants to create any temporary file. Make sure that the path these point to exists and that you have read write permissions to that location.
Q) I try to debug a kawa program that calls a native dll, but Kawa keeps giving me a "Library not found" error. What could be causing this?
A) Java expects all native dlls to have an _g at the end of the name when debugging, whether or not the dll any debugging will be done in the dll. So, make a copy of the dll and add the _g, such as mylib_g.dll. And make sure the path to it is in a place the os can find it.
O How do I get Technical support ?
-----------------------------------
- Newsgroup channels :
news://news.tek-tools.com/kawa.announcement
news://news.tek-tools.com/kawa.general
news://news.tek-tools.com/kawa.support
- Bug report
http://www.tek-tools.com/kawa/bug.htm
- Suggestions
http://www.tek-tools.com/kawa/suggestion.htm
- Downloada
http://www.tek-tools.com/kawa/evaldown.htm
TM Java and other Java-based names are trademarks of Sun Microsystems, Inc.
TM DOS, Windows, Windows95 and WinNT are trademarks of Microsoft Corporation