This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Java in General and the fly likes java.awt.Toolkit in linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "java.awt.Toolkit in linux" Watch "java.awt.Toolkit in linux" New topic
Author

java.awt.Toolkit in linux

Gran Roguismo
Ranch Hand

Joined: Mar 10, 2005
Posts: 77
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 ]

EOL
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8996
    
    9

Same problem as this guy


[How To Ask Questions On JavaRanch]
Gran Roguismo
Ranch Hand

Joined: Mar 10, 2005
Posts: 77
thanks, I'll give that a try. It is running headless, so that shouldn't be a problem
Gran Roguismo
Ranch Hand

Joined: Mar 10, 2005
Posts: 77
since I will not be launching this through command line, how can I do that programatically?

Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8996
    
    9

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.awt.Toolkit in linux