Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.awt.Toolkit in linux

 
Gran Roguismo
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to create a thumbnail from an image in my web application. I found the code online, shown below.
On my development enviroment in windows the code has no problem, but when I move it to my linux box it blows up, seemingly on the line highlighted.
How can I get this to work?
I'm using java 1.4.2


[ July 12, 2005: Message edited by: Gran Roguismo ]
 
Joe Ess
Bartender
Posts: 9300
10
Linux Mac OS X Windows
 
Gran Roguismo
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks, I'll give that a try. It is running headless, so that shouldn't be a problem
 
Gran Roguismo
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
since I will not be launching this through command line, how can I do that programatically?

 
Joe Ess
Bartender
Posts: 9300
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic