JDK1.2-prev2 Segmentation Violation

1999-09-15 Thread Surjan Singh

Any ideas why I get a seg fault?  I'm on RedHat5.2 with all the correct
libraries (as far as I can tell)

Console based programs seem to work fine. Swing & AWT programs
seg-fault.  Any ideas?  The error I get is:


SIGSEGV   11*  segmentation violation
stackpointer=0x41812b80

<+lots of thread debugging code>


(Note: I also get a set-fault on a RedHat 6.0 system)


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: JDK1.2-prev2 Segmentation Violation

1999-09-16 Thread Surjan Singh

Thanks many, many, many times!  I've been trying to figure this one out
for days.

By the way, how did you know that 24bit is a problem? I've searched
nearly 100% of all docs/faqs/newsgroups and found nothing.

Calvin Austin wrote:
> 
> 24bit? Thats a known issue that isn't completely fixed yet
> 
> calvin
> 
> > Resent-Date: Wed, 15 Sep 1999 10:00:17 -0600 (MDT)
> > Date: Wed, 15 Sep 1999 16:57:00 +0100
> > From: Surjan Singh <[EMAIL PROTECTED]>
> > MIME-Version: 1.0
> > To: [EMAIL PROTECTED]
> > Subject: JDK1.2-prev2 Segmentation Violation
> > Content-Transfer-Encoding: 7bit
> > Resent-Message-ID: <[EMAIL PROTECTED]>
> > Resent-From: [EMAIL PROTECTED]
> > X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/489
> > X-Loop: [EMAIL PROTECTED]
> > Resent-Sender: [EMAIL PROTECTED]
> >
> > Any ideas why I get a seg fault?  I'm on RedHat5.2 with all the correct
> > libraries (as far as I can tell)
> >
> > Console based programs seem to work fine. Swing & AWT programs
> > seg-fault.  Any ideas?  The error I get is:
> >
> >
> > SIGSEGV   11*  segmentation violation
> > stackpointer=0x41812b80
> >
> > <+lots of thread debugging code>
> >
> >
> > (Note: I also get a set-fault on a RedHat 6.0 system)
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> >


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: JDK1.2-prev2 Segmentation Violation

1999-09-16 Thread Surjan Singh

You need to get the dingbats font from the link on blackdown.  I think
it points to the GIMP fonts page.  No need to change font.properties.

By the way (you may know already), but the problem I had was because I
was using 24bits. JDK1.2pre-v2 works fine in 16bit.

Kontorotsui wrote:
> 
> On 15-Sep-99 Surjan Singh wrote:
> > Console based programs seem to work fine. Swing & AWT programs
> > seg-fault.  Any ideas?  The error I get is:
> >
> >
> > SIGSEGV   11*  segmentation violation
> > stackpointer=0x41812b80
> 
> I had the same troubles after installing the accursed dingbats fonts!
> Whatever I do, the JDK1.2-pre2 works ONLY when complains about missing dingbat
> fonts (and when I say ONLY I mean even if I change the font.properties, the
> dingbat fonts from the ones installed by the SuSE 6.2 to the ones downloaded
> following the link on the page, and every combination of the above).
> 
> ---
> Andrea "Kontorotsui" Controzzi - MALE Student of Computer Science at
> University of Pisa  -  Italy  -  E-mail: [EMAIL PROTECTED]
> My home page: http://www.cli.di.unipi.it/~controzz/intro.html
> 
> Founder and Admiral of Hoshi no Senshi (italian Leiji Matsumoto's fan group).
> Creator of It.Arti.Cartoni (italian anime newsgroup) and proud member of...
> 
> +-+
> |.  * .   |
> |   .__ . .   |
> |oq  |po   _ _|
> |  /  #==>>>==#,-' (_)\   |
> |  |  ,-|~\\   ///_ ,()  ,_}  |
> |  |  |/|~]]] /// ,-~'  .,~   /   \|  .   |
> |  |\_|_|_\_\~~~~'   \   (/|. |
> | ./~ \___/   [m] \   \__//   |
> | _bo..__ //   `-,.~~ |
> |  _-~ 0o.__( .   |
> | \  o  . |
> |  .  (_)00   |
> |. \~~~*,,,* ~00  |
> |~0 . |
> |   ~~~---~~  |
> |   .*|
> +-+
> | An e-mail network of Space Cruiser Yamato and   |
> |  StarBlazers Fans   |
> +-+


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Reinstall 1.1.7

1999-09-17 Thread Surjan Singh

I always thought that you _don't_ need the classpath.  If you have your
PATH variable correctly (for the release you want to use, e.g.
/usr/local/jdk1.2/bin) then you don't need to worry about anything else.

The only reason you would want your CLASSPATH set, is if you have other
Java libraries you want your compiler/java/appletviewer to see.

If you want to remove a release of the JDK just remove the folder and
its contents.

Rachel Greenham wrote:
> 
> Tom Whitcomb wrote:
> >
> > All,
> >
> > I've got 1.2 installed and I want to remove it and reinstall 1.1.7.  How do
> > I uninstall 1.2?  Do I just delete the 1.2 directories? What about the
> > support for the automatic CLASSPATH?
> >
> > Thanks for any help,
> 
> Well, under SuSE Java 1.1.7 is installed in /usr/lib/jdk1.1.7 and a
> symbolic link exists to point to it, ie /usr/lib/java. I just installed
> 1.2 int /usr/lib/jdk1.2 and moved the link. When I want to use 1.1.7 I
> either point to it directly, or I change the link back, though yes, you
> do need to do classpath stuff
> 
> --
> Rachel
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Unsubscribing

1999-09-30 Thread Surjan Singh

Hi,

I've tried unsubscribing from this group twice.  Each time I get a
message saying my email cannot be found on the list, and that I should
reply if I have any problems unsubscribing.  So, twice, I replied, but
to no avail.

If one of the administrators reads this group can you please unsubscribe
me (Sorry, to bother the rest of you).

Thanks,
Surj


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: A Global instance ?

1999-10-13 Thread Surjan Singh

Robert,

How about creating a class like this:

"public class Fred{
   public static final ResourceGizmo resourceGizmoRef;
}"

Then in the main class or init code do Fred.resourceGizmoRef=new .

Then any class can access the instance by using Fred.resourceGizmoRef.

Surj

"Robert Simmons Jr." wrote:
> 
> I have a gizmo that keeps track of resources for a program. The problem
> is that Im ending up passing this gizmo to every child component and
> that is beginning to bug me. In C++ I ould just create a global static
> var and let everyone access it. This is one of those rare cases where
> its a good idea. ALL parts use the same instance and the instance is
> read once (at the beginning) and written once(at program shutdown)
> anyone have any more elgant solution then passing it all over the damn
> place ?
> 
> --rob
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]