jQuery in Action, 2nd edition*
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
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: 8710
    
    6

Same problem as this guy


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[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: 8710
    
    6

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.awt.Toolkit in linux
 
Similar Threads
Thumbnail
image resizing
How to create a jpeg image using jasperreport?
Thumbnail
Calling of a PHP file in JSP