It's not a secret anymore!
The moose likes Linux / UNIX and the fly likes testing on unix OS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "testing on unix OS" Watch "testing on unix OS" New topic

testing on unix OS

Kim Barret

Joined: Jul 21, 2003
Posts: 14
Developed my project on Windows XP platform using SDK 1.4
While testing the client on Unix machine (running SDK 1.4) I get the following warning:
Warning: Cannot convert string "-monotype-aerial-regular-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct
Amazing thing is that nowhere in my client (or for that matter on server) am I specifying any font! Any suggestions on how to deal with this warning?
Thanks for your suggestions.
Kerry Friesen

Joined: Oct 10, 2003
Posts: 23
Hi Kim,
I developed my application under Windows XP too, but didn't do any testing on a Unix machine. I documented this issue in my choices.txt file. It did not affect my score.
I cannot help you with the warning message. I'm as as you are.

Kerry Friesen<br />SCJP 1.2<br />SCJD
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11778

Hi Kim,
I have a vague recollection that this is something to do with the default language set up on the Unix machine. But I don't remember the details.
Also from memory:
  • the application should continue to run after this warning is given
  • if you run one of the demo applications that comes with Java you should get the same warning

  • If those two assumptions are correct, then I wouldn't worry about it: this is a JVM configuration issue and the examiner should have their configuration correct before looking at your submission.
    I have moved this to the Linux/Unix forum, as you may get definitive answers there.
    If anyone would like to add their comments, you can now find this thread here.
    Regards, Andrew

    The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
    I agree. Here's the link:
    subject: testing on unix OS
    It's not a secret anymore!