Unsupported encoding: ANSI_X3.4-1968

2000-04-13 Thread Timothy Reaves

I get this when I startup JBuilder 3.5.  Any help?

java.io.UnsupportedEncodingException: ANSI_X3.4-1968
at sun.io.Converters.getConverterClass(Converters.java, Compiled
Code)
at sun.io.Converters.newConverter(Converters.java, Compiled
Code)
at
sun.io.ByteToCharConverter.getConverter(ByteToCharConverter.java,
Compiled Code)
at
com.borland.jbuilder.jot.src.SrcSimpleElement.nativeToString(SrcSimpleElement.java:330)

at
com.borland.jbuilder.jot.src.SrcSimpleElement.read(SrcSimpleElement.java:433)

at com.borland.jbuilder.jot.src.SrcFile.read(SrcFile.java:67)



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




Re: Slow drawImage

2000-04-13 Thread Ekkehard Kraemer

Hallo Kaspar,

KF>It's about the same size as yours.  And I get similar results, about 10 
KF>fps.  My problem is the following, though.  I'd like to do ALL my 
KF>drawing offscreen, even some things for the user interface (eg. 
KF>adjusting a Bezier-curve handle).  I know this sounds stupid, but my 
KF>drawing routines are written in C++ (for speed) and I don't want to 
KF>re-code them in Java...

Don't laugh. I specifically re-coded my existing Java drawing routines in C++
and included them via JNI for performance reasons. :-)

KF>Thus, I'd like to know whether a JIT compiler might help or whether 
KF>this part is not coded in Java at all (but part of the VM, or 
KF>something).

Parts are coded in Java (unfortunately, in recent versions of Java, more and
more parts), parts natively, AFAIK. Take a look at src.jar in your JDK
directory - you can easily find the native parts.

KF>offscreen image - everything seems to be cached and is moved to the

There is a toggle for this (setDoubleBuffered() on the parent window).

KF>screen as one image.  Could one change this behaviour and get better 
KF>results?  Any ideas, experiences?

My experience has been that moving almost all drawing functionally off into
native code and just blitting a BufferedImage on the screen is much faster
than doing everything in Java. This was not so in the JDK 1.0 and even 1.1, as
far as I recall.

MbG, Ekkehard


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




Re: Unsupported encoding: ANSI_X3.4-1968

2000-04-13 Thread Lars Lathan

Hello Timothy,

I got the same problem running JBF 3. You can solve this problem appending
the following parameter to the java call in your jbuilder starter script:

-Dfile.encoding=ISO8859_1

Bye, Lars



Timothy Reaves wrote:

> I get this when I startup JBuilder 3.5.  Any help?
>
> java.io.UnsupportedEncodingException: ANSI_X3.4-1968
> at sun.io.Converters.getConverterClass(Converters.java, Compiled
> Code)
> at sun.io.Converters.newConverter(Converters.java, Compiled
> Code)
> at
> sun.io.ByteToCharConverter.getConverter(ByteToCharConverter.java,
> Compiled Code)
> at
> 
>com.borland.jbuilder.jot.src.SrcSimpleElement.nativeToString(SrcSimpleElement.java:330)
>
> at
> com.borland.jbuilder.jot.src.SrcSimpleElement.read(SrcSimpleElement.java:433)
>
> at com.borland.jbuilder.jot.src.SrcFile.read(SrcFile.java:67)
>
> --
> 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]




1.2.2RC4 on LinuxPPC 1999

2000-04-13 Thread Pierre

Hi,

I can't get Java to work on my good old 8500.  I followed the documentation
(new kernel, new glibc).  I get the following error message:
Exception  Can not create Java Virtual Machine
I tried jre and jdk, same error message.  I tried to install the latest glibc
from LinuxPPC 2000, but it didn't change anything.
On java -verbose I can see a lot of classes loading and then this error
message appears.
Please help me...

Pierre


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




Set as Home Page

2000-04-13 Thread Luz Lopez

Hi all !!!

I need to make a consult, I need my users to make my site their home page, 
in such a way that they press a buttom an automatically the site stay like 
their home page.

Thanks in advanced, You are very kind

Regards,
Beginers of Java

__
Get Your Private, Free Email at http://www.hotmail.com


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




RE: Set as Home Page

2000-04-13 Thread Clyde Jones

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

| -Original Message-
| From: Luz Lopez [mailto:[EMAIL PROTECTED]]
| Sent: Thursday, April 13, 2000 3:54 PM
| To: [EMAIL PROTECTED]
| Subject: Set as Home Page
| 
| 
| Hi all !!!
| 
| I need to make a consult, I need my users to make my site their 
| home page, 
| in such a way that they press a buttom an automatically the site 
| stay like 
| their home page.
| 
| Thanks in advanced, You are very kind
| 
| Regards,
| Beginers of Java
| 

Are you trying to take over the users browser preferences and force
them to have your page as the homepage?
Would this violate the security restrictions on the browser and be
prevented (I hope)? 

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.2 for non-commercial use 
Comment: Get PGP at http://web.mit.edu/network/pgp.html

iQA/AwUBOPZAHEP80ESqUED/EQJnygCffFXjV5KIhEWhQbzgRF/TIfe9goUAn06Q
Ne7BTA2+22f00MXYvUyyT7cv
=8p0u
-END PGP SIGNATURE-


__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


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




Re: Set as Home Page

2000-04-13 Thread Chris Kelly

Well, this is maybe more appropriate for comp.lang.java.programmer or a
javascript group, but since I've done this I'll answer. Netscape has
preferences which you can read and write from javascript, including the
user's home page. You need to make a signed javascript which sets that
particular preference. Search at developer.netscape.com for that info. As
far as IE is concerned, I'm sure it has something similar.

At 12:53 PM 4/13/00 PDT, Luz Lopez wrote:
>I need to make a consult, I need my users to make my site their home page, 
>in such a way that they press a buttom an automatically the site stay like 
>their home page.



oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo
 Send Sun a Message!
  Vote for JConfig in the JDJ Readers' Choice Awards.
http://www.sys-con.com/java/readerschoice2000/
 See the 'Best Class Library' category.
oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo



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




Re: Set as Home Page

2000-04-13 Thread Riyad Kalla

No.. I think she wants something along the lines of the IE4/5 buttons that
auto-sets the page as your homepage... I've seen it on a few sites ( mostly
news related sites offer it )

-Riyad

P.S>> No I don't know how to do it :(


- Original Message -
From: "Clyde Jones" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 13, 2000 2:46 PM
Subject: RE: Set as Home Page


> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> | -Original Message-
> | From: Luz Lopez [mailto:[EMAIL PROTECTED]]
> | Sent: Thursday, April 13, 2000 3:54 PM
> | To: [EMAIL PROTECTED]
> | Subject: Set as Home Page
> |
> |
> | Hi all !!!
> |
> | I need to make a consult, I need my users to make my site their
> | home page,
> | in such a way that they press a buttom an automatically the site
> | stay like
> | their home page.
> |
> | Thanks in advanced, You are very kind
> |
> | Regards,
> | Beginers of Java
> |
>
> Are you trying to take over the users browser preferences and force
> them to have your page as the homepage?
> Would this violate the security restrictions on the browser and be
> prevented (I hope)?
>
> -BEGIN PGP SIGNATURE-
> Version: PGPfreeware 6.5.2 for non-commercial use 
> Comment: Get PGP at http://web.mit.edu/network/pgp.html
>
> iQA/AwUBOPZAHEP80ESqUED/EQJnygCffFXjV5KIhEWhQbzgRF/TIfe9goUAn06Q
> Ne7BTA2+22f00MXYvUyyT7cv
> =8p0u
> -END PGP SIGNATURE-
>
>
> __
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
>
> --
> 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]




disregard

2000-04-13 Thread Jacob Martin

Nevermind the previous question.


I got it ;)




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




Default colormap

2000-04-13 Thread Jacob Martin

Hello,

Got an error, this may have nothing to do with java itself, but then
again it may

I'm getting a

Default Colormap not found

error?  Under RH linux 6.2, blackdown jdk1.2.2

Thanks!
Jake ...


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




sparc RedHat Linux, Native Threads and HotSpot

2000-04-13 Thread Avi Cherry

I'm running RedHat Linux 6.0, but with an upgraded kernel (2.2.14) 
and a new glibc (2.1.3), which is what comes with RedHat 6.2.  In 
case it matters, I've also tried the glibc that comes with RedHat 6.1.
I'm running JDK 1.2.2 RC4, the latest version available.
Running with green threads and no JIT seems to work alright, though I 
haven't tested it thoroughly.
Running with native threads (and no JIT) results in the following:
$ java -native -version
SIGSEGV   11*  segmentation violation
 si_signo [0]: no signal
 si_errno [0]: Success
 si_code [0]: SI_USER [pid: 0, uid: 0]

The process runs out of control.  The process list involving java 
looks like this:

30034 pts/6S  0:00 
/usr/local/jdk1.2.2/bin/sparc/native_threads/java -version
30072 pts/6R  0:49 
/usr/local/jdk1.2.2/bin/sparc/native_threads/java -version
30073 pts/6S  0:00 
/usr/local/jdk1.2.2/bin/sparc/native_threads/java -version

I've managed to install the hotspot JIT (it took some effort, since 
it tries to run the JDK with the -native flag during installation), 
but when I run Java with the JIT on, I get the following error:
$ java -green -version
HotSpot VM warning: Cannot recognize SPARC version (0x5). Default to V9
#
# HotSpot Virtual Machine Error, Unexpected Signal 4
#
# Error ID: 4F533F4C494E55580E4350500CC0 FF
#

I'm not running on a V9 (which is an UltraSparc chip, no?) I'm 
running on a SparcStation 10, with whatever CPU is in there.  Is it 
safe to assume that hotspot simply does not support the CPU in my 
machine?

I'm running on a Sparcstation 10.  Does anyone run a machine with a 
similar configuration?  If anyone does, and nobody knows a solution 
to this problem, could you send me a note and we could compare 
configurations, and see what might possibly be different about them 
that could be causing this?

Thanks,
Avi Cherry


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




jdb tips?

2000-04-13 Thread noisebrain

Hello,

i'm trying jdb for the first time and am having difficulties.

Using sun/inprise/blackdown 1.2.2(feb version) I run my app with 
-Xdebug -Djava.compiler=NONE -Xbootclasspath:... 
and it prints out e.g.
Agent password=3i5347

The jdb tool doc says that I can then run
jdb -host  -password 
but jdb itself says it does not recognize -host.   Jdb's usage message
says it recognizes 
-connect :=,.
or 
-attach 
but the html doc doesn't describe what  or  are.

Thanks for any help




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




Re: jdb tips?

2000-04-13 Thread Chris Abbey

the jdb docs for the 1.2 release don't seem to have been updated
for any platform, see the jdb docs for 1.3 instead:

http://java.sun.com/products/jdk/1.3/docs/tooldocs/solaris/jdb.html



  cabbey at home dot net <*> http://members.home.net/cabbey
   I want a binary interface to the brain!
Today's opto-mechanical digital interfaces are just too slow!


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