mmflynn Posted January 10, 2007 Share Posted January 10, 2007 Hello--I'm having a heck of a time getting iReport to run on Ubuntu 6.0.6. I upgraded Java SDK from 1.4.2_13 to 1.5.0_10. Here are my env variables: sugar@ubuntu:~/iReport-1.3.0/bin$ printenvSSH_AGENT_PID=5221TERM=xtermDESKTOP_STARTUP_ID=SHELL=/bin/bashGTK_RC_FILES=/etc/gtk/gtkrc:/home/sugar/.gtkrc-1.2-gnome2IREPORT_HOME=/home/sugar/iReport-1.3.0WINDOWID=29360221USER=sugarLS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.flac=01;35:*.mp3=01;35:*.mpc=01;35:*.ogg=01;35:*.wav=01;35:GNOME_KEYRING_SOCKET=/tmp/keyring-fu8qfx/socketSSH_AUTH_SOCK=/tmp/ssh-FYukYo5179/agent.5179SESSION_MANAGER=local/ubuntu:/tmp/.ICE-unix/5179USERNAME=sugarDESKTOP_SESSION=defaultPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/gamesGDM_XSERVER_LOCATION=flexiPWD=/home/sugar/iReport-1.3.0/binJAVA_HOME=/home/sugar/jdk1.5.0_10LANG=en_US.UTF-8GDMSESSION=defaultHISTCONTROL=ignoredupsHOME=/home/sugarSHLVL=1LANGUAGE=enGNOME_DESKTOP_SESSION_ID=DefaultLOGNAME=sugarDBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-bQdK9KlmdN,guid=92f4a345b3a5d4343010d65cb3208400LESSOPEN=| /usr/bin/lesspipe %sDISPLAY=:20.0LESSCLOSE=/usr/bin/lesspipe %s %sCOLORTERM=gnome-terminalXAUTHORITY=/home/sugar/.Xauthority_=/usr/bin/printenvOLDPWD=/home/sugar/iReport-1.3.0 And here is the error: sugar@ubuntu:~/iReport-1.3.0$ ./iReport.shException in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit at java.awt.Toolkit.getDefaultToolkit(libgcj.so.7) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(libgcj.so.7) at java.awt.Window.<init>(libgcj.so.7) at java.awt.Frame.<init>(libgcj.so.7) at java.awt.Frame.<init>(libgcj.so.7) at javax.swing.SwingUtilities$OwnerFrame.<init>(libgcj.so.7) at javax.swing.SwingUtilities.getOwnerFrame(libgcj.so.7) at javax.swing.JDialog.<init>(libgcj.so.7) at javax.swing.JDialog.<init>(libgcj.so.7) at it.businesslogic.ireport.gui.SplashDialog.<init>(SplashDialog.java:45) at it.businesslogic.ireport.gui.MainFrame.main(MainFrame.java:7741)Caused by: java.lang.ClassNotFoundException: gnu.java.awt.peer.gtk.GtkToolkit at java.lang.Class.forName(libgcj.so.7) at java.lang.Class.forName(libgcj.so.7) at java.awt.Toolkit.getDefaultToolkit(libgcj.so.7) ...10 moresugar@ubuntu:~/iReport-1.3.0$ I've tried to figure this out by reading other forum questions, but remain confused/stuck. Any help would be greatly appreciated! Mary Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now