home *** CD-ROM | disk | FTP | other *** search
/ Java 1.2 How-To / JavaHowTo.iso / 3rdParty / kawa / kinst312a.exe / data1.cab / Executables / readme.txt < prev    next >
Encoding:
Text File  |  1998-10-26  |  10.1 KB  |  184 lines

  1. ---------------------------------------
  2. Kawa    : Questions and Answers (10/25/98)
  3. Release : 3.12a
  4. email   : kawa@tek-tools.com
  5. web     : http://www.tek-tools.com/kawa/
  6. --------------------------------------
  7.  
  8. O  What do I need to use Kawa properly ? 
  9. ----------------------------------------
  10.  
  11.    1) Install JDK 1.1.4 or greater from SUN site at
  12.       http://www.javasoft.com
  13.  
  14.    2) Install JDK HTML documentation after downloading the documents
  15.       http://www.javasoft.com
  16.  
  17.    3) If you want bean support download the latest release of BDK and install BDK.
  18.  
  19. O  How do I install Kawa ?
  20. ------------------------------
  21.  
  22.    1) Download Kawa from our Web site http://www.tek-tools.com/kawa and execute the downloaded file to 
  23.       auto start the setup. If you have an installed version of Kawa please download the 2.52 upgrade
  24.       otherwise download the full install. If you are upgrading please install Kawa over the
  25.       previous release in the same directory.
  26.     
  27.     Kawa uses JDK to compile and execute Java programs. It is important to setup the PATH and CLASSPATH
  28.     values correctly for JDK before trying to compile or execute programs from within Kawa. Following is
  29.     the setup required for JDK 1.1.2 or greater in order to compile and run Java files from within Kawa.
  30.     Please refer to JDK README for any last minute changes with new JDK release on these requirements.
  31.    
  32.     Win 95 -
  33.     ---------
  34.     - Please make sure there is only one version of JDK installed and it is 1.1.2 or greater. 
  35.  
  36.     - Please add \java\bin to path variable in the autoexec.bat file as the first value in the path list. For example, 
  37.     if your JDK is installed in the directory c:\java please add c:\java\bin to path variable as the first value 
  38.     of the path variable. With this setting in the autoexec.bat path there is no need to set the path for Java 
  39.     programs directory in the Customize/Options/Directories dialog box under Kawa. 
  40.  
  41.         Example : set path = c:\java\bin;%PATH%
  42.  
  43.     It is important to have the \java\bin as the first variable in the path because if you have installed other JDKs 
  44.     this will ensure that the JDK from Sun will be found first.    
  45.  
  46.     Win NT  -
  47.     ---------
  48.     - Please make sure there is only one version of JDK is installed and it is 1.1.2 or greater.
  49.  
  50.     - Please add \java\bin to path variable under System environment in Control Panel as the first value in the path list. 
  51.     For example, if your JDK is installed in the directory c:\java please add c:\java\bin as the first value of the path 
  52.     variable. With this setting in the path there is no need to set the path for Java programs directory in the 
  53.     Customize/Options/Directories dialog box under Kawa. It is important to have the \java\bin as the first variable in 
  54.     the path because if you have installed other JDK's this will ensure that the JDK from Sun will be found first.    
  55.  
  56.     If you are still having problems compiling, executing or running GUI
  57.     builder from within Kawa please send an email to kawa@tek-tools.com with a
  58.     copy of your autoexec.bat file for 95 and a copy of your set command output
  59.     from a DOS console under NT. Just type SET from DOS console to print all
  60.     the system variable values and redirect the output to a file using >>
  61.     operator or copy the output from the screen and paste it into an email.
  62.  
  63. O  Some common Setup questions
  64. ---------------------------------
  65.    Q) I get a javai_g.dll message not found when Kawa starts up. What should I do ?
  66.  
  67.    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
  68.       the system PATH variable pointing to jdk\bin and the Java/Bin directory under Customize/Options/Directories are setup 
  69.       correctly. Restart computer if necessary and restart Kawa. If the message does not go away then either this DLL is missing
  70.       from JDK/bin directory or you have only JDK 1.2 (beta) installed on your computer. Kawa native debugger still does not
  71.       support JDK 1.2 (beta) even though Kawa supports all other functionalities like compilation etc.. If you have only JDK 1.2
  72.       installed please neglect this message. We will try and support JDK 1.2 (beta) with the native debugger as quickly as we
  73.       can.
  74.  
  75.    Q) Why does my dial up networking dialog pop up when I start the Kawa native debugger ?
  76.  
  77.    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
  78.       networking here is a solution as copied from a Java newsgroup discussion which seems to work pretty well -
  79.  
  80.           Java has networking support built in. When the Java program
  81.           starts the Winsock dll automatically gets loaded. The first thing
  82.           this does is to try to resolve the fully qualified domain name for
  83.           your machine under the name "localhost". If your system doesn't
  84.           have this name mapped, it will try to query a nameserver on the
  85.           internet, which is typically (on a PC) your dialup ISP. So it
  86.           either prompts you to connect to the ISP, or waits till the
  87.           attempt times out.
  88.           You can avoid the problem by giving your system another way to
  89.           resolve DNS names. Edit the hosts file for your system (found in
  90.           %windir%\hosts on Win95 and %windir%\system32\drivers\etc\hosts on
  91.           NT) so that localhost and the full domain name are both mentioned.
  92.           So if my system is called goober.best.com change the hosts file
  93.           from
  94.                127.0.0.1 localhost
  95.           to
  96.                127.0.0.1 goober.best.com localhost
  97.           [If any networking gurus have improvements to this process,
  98.           send'em in!]
  99.           There is a longer, different procedure at
  100.           http://www.best.com/~pvdl Please send me mail (pvdl@best.com) if
  101.           either or both of these work or don't work for you, so I can
  102.           update the FAQ.
  103.  
  104.    Q) I cannot compile a Java file from within Kawa...
  105.  
  106.    A) Please refer to JDK PATH requirements in the above paragraph for this problem.
  107.  
  108.    Q) I cannot execute a Java class file from within Kawa project
  109.  
  110.    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
  111.       CLASSPATH variable then you will not be able to run the class file. Kawa issues the java command to run a class
  112.       file from the same directory as the Kawa project. Therefore, it is important to make sure the class file you
  113.       are trying to run is in the same directory as Kawa project or it's path is in the CLASSPATH variable.
  114.  
  115.    Q) When I try to load Help item I get an application error and Kawa exits...
  116.  
  117.    A) This happens when some of the OLE DLLs are not the latest. Please follow 
  118.       these steps to fix this problem. 
  119.     
  120.     Please go to Kawa download area at http://www.tek-tools.com/kawa/evaldown.htm and download the file
  121.     oadist.exe from System Patches section at the bottom of the page. The same file can alse be downloaded
  122.     from Microsoft site from their Windows 95 download section. Please execute this file after downloading 
  123.     to upgrade some OLE DLLs on your computer. This will fix the HTML display problem.
  124.  
  125.    Q) I get "Unsupported action performed" error when I try to display Help under Kawa...
  126.  
  127.    A) This happens if the HTML OCX from Kawa is not registered during Setup for some reason. Please exit
  128.       to DOS console and change directory to Kawa directory and issue the command "regsvr32 WebPro32.ocx"
  129.       and you should get the message "csweb32.ocx registered successfully !!!" This will fix the help
  130.       display problem.
  131.  
  132.    Q) My Help/Search dialog box is empty or my customized user index tab is empty
  133.  
  134.    A) Please make sure Kawa Program path under Options/Directory is set correctly to Kawa program directory. 
  135.       This is very important for many settings to work right including the Kawa GUI builder.
  136.  
  137.    Q) When I run Kawa I have the icons Kawa.bns on my desktop...
  138.  
  139.    A) This can happen if the start in directory option for the menu shortcut is not pointing to Kawa installation
  140.       directory.
  141.  
  142.    Q) When I try to introspect beans under Kawa I get the error "java.lang.NoClassDefFoundError: sun/beanbox/Jarloader"
  143.  
  144.    A) Please make sure CLASSPATH points to the directory ..\bdk\beanbox\classes directory.
  145.  
  146.    Q) Where can I get the help index files and package files for JDK 1.2 and swing?
  147.   
  148.    A) Please download the file http://www.tek-tools.com/kawa/bin/kawafiles.zip and read the instructions.
  149.    
  150.    Q) I have JDK1.2beta4 installed and the paths set.  Why can't I debug with the JDK?
  151.    
  152.    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.
  153.  
  154.    Q) I keep getting the error "Cannot Create redirect file" when compiling.  How do I fix it?
  155.  
  156.    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.
  157.  
  158.    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?
  159.  
  160.    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.
  161.  
  162. O  How do I get Technical support ?
  163. -----------------------------------
  164.  
  165.      - Newsgroup channels :
  166.        news://news.tek-tools.com/kawa.announcement
  167.        news://news.tek-tools.com/kawa.general
  168.        news://news.tek-tools.com/kawa.support
  169.  
  170.      - Bug report 
  171.        http://www.tek-tools.com/kawa/bug.htm
  172.      
  173.      - Suggestions
  174.        http://www.tek-tools.com/kawa/suggestion.htm
  175.  
  176.      - Downloada
  177.        http://www.tek-tools.com/kawa/evaldown.htm    
  178.  
  179. TM Java and other Java-based names are trademarks of Sun Microsystems, Inc. 
  180. TM DOS, Windows, Windows95 and WinNT are trademarks of Microsoft Corporation 
  181.  
  182. -------------------------------------
  183. Kawa Support (kawa@tek-tools.com)
  184. ⌐ 1996, 1997, 1998 All Rights Reserved