Can't find 'dingbat' fonts on 1.2preV2 install

1999-10-20 Thread Bradley Rosser

Hi.  I've recently installed the Blackdown 1.2 pre-v2 JDK and
everything works fine except, when running a java program, a heap
of "can't find font" messages popped up such as this:

  "Font specified in font.properties not found
   [--zapf
dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]"

I commented out all 'dingbat' references in the font.properties
file and that seems to have fixed the problem, but I just wanted
to ask if there was a better solution (just 'chopping out' the
fontname-dash-2 series of definitions in font.properties seemed to
be a bit crude).

I'm running fvwm2 with Linux 2.2.12 and XFree86 (I don't have the
version of XFree with me right now, but it's one of the most 
recent - came with my Slakware 4.0 distribution of the 2.2.7 kernel).

Do other linux distributions have these 'dingbat' fonts?  Should
I acquire them (somehow), or otherwise fix things up a bit more
elegantly?

As a newcomer to Java on Linux, may I ask if anyone can give me
an idea as to when 1.3 is likely to be out?  I had a number of
Swing bugs in 1.2 (developing on NT) which were fixed when I went
to the recent 1.3beta for NT.  I don't know anything about
java implementations; can I try and merge the Swing java source
from 1.3 into my blackdown 1.2preV2 installation or are more 
complicated porting methods required?

Thanks for any help,


Brad Rosser
[EMAIL PROTECTED]


=

__
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com


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



CRC errors in bz2 files

1999-10-20 Thread Fathi . Djebbari



Hello,

Files with .bz2 extension have always (i.e. whatever is the file or the mirror used) 
CRC errors when trying to decompress
them. Is it a problem I am the only one to encounter or must I have a specific version 
of bzip2 ?
thanks
fathi



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



Re: JDBC newbie question

1999-10-20 Thread Cynthia Jeness

How are you getting the driver loaded?   Also, the driver manager tries to
discover the correct driver based on the URL you specify when you get a
connection.  So be sure that your URL is correct.

Cynthia Jeness

Jalaluddin Riaz wrote:

> hi,
> I am a newbie to JDBC programming and am having some problems. I am
> using mysql rdbms and mm.mysql.jdbc-1.2 driver and have jdk1.2preV2
> installed. the problem is everytime i try to run a prog. i get class not
> found exception. the prog is not able to find the driver class files. i have
> tried different CLASSPATH settings, still does no works.. any ideas.
>
> thanks.
>
> __
> 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]


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



Question about file names

1999-10-20 Thread andrey


Hi, All!

I have generic question: 
Is there any PLATFORM_INDEPENDENT way to test if given String defines a valid
file name without actually trying to create the file. I want to perfom such
test in the KeyEvent handler and attempting to create file every time doesn't
sound good to me.

Thanks.


--
E-Mail: [EMAIL PROTECTED]
Date: 20-Oct-99
Time: 11:34:40


Andrey.
--


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



Sun Java 2 for Linux

1999-10-20 Thread Cynthia Jeness

Any comments/insights about the following excerpt from an October 18
InfoWorld article?

...
  Meanwhile, Sun Microsystems is preparing to release in early 2000 a
Java2-compliant JVM for Linux that brings the performance, functions,
and Java HotSpot features of the latest Java specifications to the Linux
community, according to sources close to Sun Microsystems.
...


Cynthia Jeness





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



Re: Can't find 'dingbat' fonts on 1.2preV2 install

1999-10-20 Thread Cynthia Jeness

Bradley,

This has been discussed several times on the group,  I run RedHat 6.0 and had
the same problem.  The following solution worked best for me:

from Michael E. Shorter on September 27, 1999:  >>

I just installed the zapf dingbats fonts with now problems. Here's what I
did:

Downloaded the fonts from the www.gimp.org site.
I unpacked the archive in JDK fonts directory (/opt/jdk1.2/jre/lib/fonts
on my machine).
Then I edited the fonts.dir file located there, and appended the fonts.dir
file from the URW directory that was created unpacking the archive.
I then deleted the "35" that was inserted after the original list of
fonts, and changed the "12" to "47" at the beginning of the file.

Hope that helps...

Mike

>>>

I would assume that they will fix this problem in future releases of the JDK.

With regard to the Swing issue, it would seem that merging two different
releases would be a non-trivial  undertaking.

I was just working on the latest beta for JavaHelp in preparation for some
talks I am giving at the Software Summit.  Based on my experiments with this
product, printing does not work very well under 1.2.  According to the JavaHelp
group, these problems will be fixed in 1.3.  So I am also curious about how a
1.3 port fits into the Linux plans.

Cynthia Jeness

Bradley Rosser wrote:

> Hi.  I've recently installed the Blackdown 1.2 pre-v2 JDK and
> everything works fine except, when running a java program, a heap
> of "can't find font" messages popped up such as this:
>
>   "Font specified in font.properties not found
>[--zapf
> dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]"
>
> I commented out all 'dingbat' references in the font.properties
> file and that seems to have fixed the problem, but I just wanted
> to ask if there was a better solution (just 'chopping out' the
> fontname-dash-2 series of definitions in font.properties seemed to
> be a bit crude).
>
> I'm running fvwm2 with Linux 2.2.12 and XFree86 (I don't have the
> version of XFree with me right now, but it's one of the most
> recent - came with my Slakware 4.0 distribution of the 2.2.7 kernel).
>
> Do other linux distributions have these 'dingbat' fonts?  Should
> I acquire them (somehow), or otherwise fix things up a bit more
> elegantly?
>
> As a newcomer to Java on Linux, may I ask if anyone can give me
> an idea as to when 1.3 is likely to be out?  I had a number of
> Swing bugs in 1.2 (developing on NT) which were fixed when I went
> to the recent 1.3beta for NT.  I don't know anything about
> java implementations; can I try and merge the Swing java source
> from 1.3 into my blackdown 1.2preV2 installation or are more
> complicated porting methods required?
>
> Thanks for any help,
>
> Brad Rosser
> [EMAIL PROTECTED]
>
> =
>
> __
> Do You Yahoo!?
> Bid and sell for free at http://auctions.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]



Re: JNI link to disk space

1999-10-20 Thread Dustin Lang


Hi,

> > > I am interesting in getting the disk space and partition
> > > in a Java program by using JNI. What is the std UNIX API
> > > call to do this? I have tried grepping the man pages
> > > and got the source to kdf program but it didn't help
> > > because it was executing `/usr/bin/df -k -T' and parsing
> > > the output. Is there a native portable UNIX system call that
> > > provides partition information and also disk space size and free
> > > information?

I'm working on an installer that also needs to find out this information.
IBM Alphaworks has an Install Toolkit for Java that includes some classes
for doing this sort of thing.  For UNIX/Linux they just call df and parse
the output.  Sure, it's an ugly solution, but if it works and saves you
from writing some irritating parsing code...

If you find out or invent a better way (perhaps via JNI, as you
originally suggested?), and you are able to release the source, I would be
most grateful to see it! :)

Cheers,
dstn.




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



Re: Question about file names

1999-10-20 Thread Michael Sinz

On Wed, 20 Oct 1999 11:40:46 -0400 (EDT), [EMAIL PROTECTED] wrote:

>
>Hi, All!
>
>I have generic question: 
>Is there any PLATFORM_INDEPENDENT way to test if given String defines a valid
>file name without actually trying to create the file. I want to perfom such
>test in the KeyEvent handler and attempting to create file every time doesn't
>sound good to me.

There is no good way to do this.  However, you may need to rethink
your plan of having this done in the key event handler.  It is possible
to have a filename string that will go though an invalid state before
becoming a valid name.

The easiest way to know that you are "valid" is to limit the name to
alpha-numeric (A-Z,0-9) characters and a single "."

(Even worse, 8.3 for DOS systems but most things are beyond that)

There may be a way to create a file object (which is not the same as
creating the file) but that may not provide the final check for you.

-- 
Michael Sinz  Technology and Engineering Director/Consultant
"Starting Startups" mailto:[EMAIL PROTECTED]
My place on the web ---> http://www.users.fast.net/~michael_sinz



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



RE: JNI link to disk space

1999-10-20 Thread Burkhart,Kelly

Why is it an ugly solution?  Unix apps do this sort of thing frequently.  It
works fine.

> -Original Message-
> From: Dustin Lang [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 20, 1999 12:00 PM
> To: [EMAIL PROTECTED]
> Cc: Java Linux Mailing List
> Subject: Re: JNI link to disk space
> 
> 
> 
> Hi,
> 
> > > > I am interesting in getting the disk space and partition
> > > > in a Java program by using JNI. What is the std UNIX API
> > > > call to do this? I have tried grepping the man pages
> > > > and got the source to kdf program but it didn't help
> > > > because it was executing `/usr/bin/df -k -T' and parsing
> > > > the output. Is there a native portable UNIX system call that
> > > > provides partition information and also disk space size and free
> > > > information?
> 
> I'm working on an installer that also needs to find out this 
> information.
> IBM Alphaworks has an Install Toolkit for Java that includes 
> some classes
> for doing this sort of thing.  For UNIX/Linux they just call 
> df and parse
> the output.  Sure, it's an ugly solution, but if it works and 
> saves you
> from writing some irritating parsing code...
> 
> If you find out or invent a better way (perhaps via JNI, as you
> originally suggested?), and you are able to release the 
> source, I would be
> most grateful to see it! :)
> 
> Cheers,
> dstn.
> 
> 
> 
> 
> --
> 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: JNI link to disk space

1999-10-20 Thread Aaron Mulder

Sure, but the Java white papers keep mentioning things like
"platform independent"...  I figure they must have *some* reason for it...

Aaron

On Wed, 20 Oct 1999, Burkhart,Kelly wrote:
> Why is it an ugly solution?  Unix apps do this sort of thing frequently.  It
> works fine.
> 
> > -Original Message-
> > I'm working on an installer that also needs to find out this 
> > information.
> > IBM Alphaworks has an Install Toolkit for Java that includes 
> > some classes
> > for doing this sort of thing.  For UNIX/Linux they just call 
> > df and parse
> > the output.  Sure, it's an ugly solution, but if it works and 
> > saves you
> > from writing some irritating parsing code...


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



RE: JNI link to disk space

1999-10-20 Thread Burkhart,Kelly

As soon as he said JNI he eliminated platform independence (at least in the
Java sense).

> -Original Message-
> From: Aaron Mulder [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 20, 1999 3:22 PM
> To: Burkhart,Kelly
> Cc: 'Dustin Lang'; Java Linux Mailing List
> Subject: RE: JNI link to disk space
> 
> 
>   Sure, but the Java white papers keep mentioning things like
> "platform independent"...  I figure they must have *some* 
> reason for it...
> 
> Aaron
> 
> On Wed, 20 Oct 1999, Burkhart,Kelly wrote:
> > Why is it an ugly solution?  Unix apps do this sort of 
> thing frequently.  It
> > works fine.
> > 
> > > -Original Message-
> > > I'm working on an installer that also needs to find out this 
> > > information.
> > > IBM Alphaworks has an Install Toolkit for Java that includes 
> > > some classes
> > > for doing this sort of thing.  For UNIX/Linux they just call 
> > > df and parse
> > > the output.  Sure, it's an ugly solution, but if it works and 
> > > saves you
> > > from writing some irritating parsing code...
> 
> 
> --
> 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: Sun Java 2 for Linux

1999-10-20 Thread Riyad Kalla

I'm giddy like a school girl to see how it turns out.

Would Blackdown disolve if this comes true?

Cynthia Jeness wrote:

> Any comments/insights about the following excerpt from an October 18
> InfoWorld article?
>
> ...
>   Meanwhile, Sun Microsystems is preparing to release in early 2000 a
> Java2-compliant JVM for Linux that brings the performance, functions,
> and Java HotSpot features of the latest Java specifications to the Linux
> community, according to sources close to Sun Microsystems.
> ...
>
> Cynthia Jeness
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

--
[  Riyad Kalla  ]
[   [EMAIL PROTECTED]   ]
[   CS - Major  ]
[ University of Arizona ]




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



Re: Question about file names

1999-10-20 Thread Riyad Kalla

I know I've done it in the past by creating a new File object, then checking its
existance vis the exists() method. I am sure there are better ways to do it, but
I am not as weathered as many others on this list. If someone has a better
way, I would like to hear it as well.

-Riyad


[EMAIL PROTECTED] wrote:

> Hi, All!
>
> I have generic question:
> Is there any PLATFORM_INDEPENDENT way to test if given String defines a valid
> file name without actually trying to create the file. I want to perfom such
> test in the KeyEvent handler and attempting to create file every time doesn't
> sound good to me.
>
> Thanks.
>
> --
> E-Mail: [EMAIL PROTECTED]
> Date: 20-Oct-99
> Time: 11:34:40
>
> Andrey.
> --
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

--
[  Riyad Kalla  ]
[   [EMAIL PROTECTED]   ]
[   CS - Major  ]
[ University of Arizona ]




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



Release

1999-10-20 Thread Ramiro Diaz Trepat

Hello Blackdown team, 
I need to ask a tedious question, and I know you can't give
me a precise reply, but I would appreciate very much some sort of reply
even
if it is very informal.
About when is the next release planned to be on the street ?

Thank's

-- 
Ramiro Díaz Trepat
[EMAIL PROTECTED]
ôèPԔ ‘ 
ÿzf¢–Ú#jöÿ–)îÇúު笷øÚ½¯Û•§$vŒ'þŠàÂ+aj˛ç-¡ÿîžË›±ÊâmïÿNº.nWÿ
‰íiËeŠËZvoãjöÿnVœ‘Ú0Ÿú+



Re: Sun Java 2 for Linux

1999-10-20 Thread Daniel P. Zepeda

Save your giddiness for when you actually have it running on your machine.
It is a lot more satisifying that way. 

Thus spake Riyad Kalla on Wed, 20 Oct 1999:
> I'm giddy like a school girl to see how it turns out.
> 
> Would Blackdown disolve if this comes true?
> 
> Cynthia Jeness wrote:
> 
> > Any comments/insights about the following excerpt from an October 18
> > InfoWorld article?
> >
> > ...
> >   Meanwhile, Sun Microsystems is preparing to release in early 2000 a
> > Java2-compliant JVM for Linux that brings the performance, functions,
> > and Java HotSpot features of the latest Java specifications to the Linux
> > community, according to sources close to Sun Microsystems.
> > ...
> >
> > Cynthia Jeness
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> --
> [  Riyad Kalla  ]
> [   [EMAIL PROTECTED]   ]
> [   CS - Major  ]
> [ University of Arizona ]
> 
> 
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
Daniel P. Zepeda
[EMAIL PROTECTED]

"In complete darkness, we are all the same. Only our knowledge and wisdom 
separates us there." -- J. Jackson


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



JAVA+Enlightenment

1999-10-20 Thread Renzo Pecoraro

Hi -

Does anybody have a hint as to how to fix this: I am using
RH6.0+Gnome+E, and whenever I startup NetBeans places itself in the top
left corner, but hides its own window titlebar, so that I don't have
access to the iconify buttons, etc. Very annoying! Is there a fix?

BTW, Sun just acquired NetBeans
http://www.netbeans.com/press/sun-netbeans.html

Thanks!
Renzo


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



Re: JAVA+Enlightenment

1999-10-20 Thread Peter Graves

You might try moving the window in question to where you want it
to be, then saving its position (and possibly and possibly also
its size) using Enlightenment's "Remember..." function.  This
works for me with the current (0.16.0) version of Enlightenment,
at least...

-Peter
http://armedbear.org

Renzo Pecoraro wrote:
> 
> Hi -
> 
> Does anybody have a hint as to how to fix this: I am using
> RH6.0+Gnome+E, and whenever I startup NetBeans places itself in the top
> left corner, but hides its own window titlebar, so that I don't have
> access to the iconify buttons, etc. Very annoying! Is there a fix?
> 
> BTW, Sun just acquired NetBeans
> http://www.netbeans.com/press/sun-netbeans.html
> 
> Thanks!
> Renzo
> 
> --
> 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: java-linux-digest Digest V99 #54

1999-10-20 Thread Ulli Kortenkamp

>> I wonder how much speedup can be achieved by using tools like
>> Jopt ( http://www-i2.informatik.rwth-aachen.de/~markusj ). Are
>> there any benchmarks yet?

We have a lot of experience using JAX (alphaworks), and we got a
noticable speedup. Sorry, we did no benchmarks, but it seems like
around 5% 

Ulli

The Interactive Geometry Software Cinderella
http://www.cinderella.de/


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



Re: JNI link to disk space

1999-10-20 Thread Jörg Strebel

> > > > I am interesting in getting the disk space and partition
> > > > in a Java program by using JNI. What is the std UNIX API
> > > > call to do this? I have tried grepping the man pages
> > > > and got the source to kdf program but it didn't help
> > > > because it was executing `/usr/bin/df -k -T' and parsing
> > > > the output. Is there a native portable UNIX system call that
> > > > provides partition information and also disk space size and free
> > > > information?
>

This might be a silly question but:
Why don't you just look at the source code of "df"? I thought the sources 
were always included in GNU software?
You could then take the piece of code found in "df" and use it in your own 
program.

..cu

Jörg

__
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]