🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #24205

JAVA WORKSHOP (7)

#24205
From: �ϵ�
Date: Mon, 20 Apr 1998 00:00
127 lines
2759 bytes
������: xyz (�����), ����: JAVA
��  ��:  JAVA WORKSHOP (7) ת��
����վ: '3m�Ͻ�ɺ�m' (Fri Feb 13 17:41:55 1998) , ת��


Platform independent error messages:



1."load: class <class name in all caps> not found" 

In your html code when you specify the class name, you must enter the class 
name in quotes. Case is important. 



2.What does it mean when Java WorkShop says "Applet not initialized" 



Most likely you did not declare your class to be public. 



3.javac allows me to write something like 






        try
                connection.close();
        catch(Exception e){}







the workshop compiler forced me to rewrite it as 


        try{
                connection.close();
        }catch (Exception e) {}







The newer JDK's enforce this as well. The language folks decided to force 
brackets around try statements. 





Windows 95 specific error messages:



�When I enter jws, I get the following message: 

JWS caused an invalid page fault in module JAVAI.DLL at 0137:10111ec5. 



This is an installation problem that can occur when older versions of Java 
have not been deleted. Usually it means that CLASSPATH is referencing the 
"wrong" JDK. 





Windows NT specific error messages:



�No error messages were available at the time of this writing. Stay tuned. 



Solaris specific error messages:



�When I enter jws, I get the following message:
"Motif library .../lib/libXm.so.3 not found" . 

The Java WorkShop requires Motif 1.2.3 libraries to be installed. The Java 
WorkShop was not able to locate those libraries. Enter the following to see 
if they are installed: 




pkginfo -l SUNWmfrun 




If VERSION: is "1.2.3", then the problem is that your environment variable 
LD_LIBRARY_PATH doesn't include /usr/dt/lib. 



Otherwise, install the Motif 1.2.3 libraries. 




--
      
         --------------------------------
           ���������֣�ֻ͵��Ϣ�����ơ�
         --------------------------------

m;34m�� ��Դ:���Ͻ�ɺ� bbs.njupt.edu.cn��[FROM: pc02.comp.njupt]m

--
�� ��Դ:���ϴ�С�ٺ���Ϣ����վ bbs.nju.edu.cn��[FROM: a507yjh.nju.edu]
Technical Details
Message-ID: <3OBKU9$80k@bbs.nju.edu.cn>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f6cb0,3d80546bd0ee9621,start
X-Google-Attributes: gidf6cb0,public
From: mendy.bbs@bbs.nju.edu.cn (�ϵ�)
Subject: JAVA WORKSHOP (7) 
Date: 1998/04/20
Message-ID: <3OBKU9$80k@bbs.nju.edu.cn>
X-Deja-AN: 346145850
X-Filename: Java/M.893077929.A
Organization: nju_bbs
Newsgroups: cn.bbs.comp.lang.java