Help: Squirrel installation

View: New views
2 Messages — Rating Filter:   Alert me  

Help: Squirrel installation

by davidw589 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi ,

 

I downloaded squirrel-sql-2.6.5a-install.jar and tried to install it with

java -jar squirrel-sql-2.6.5a-install.jar

however, I got "No X11 DISPLAY variable was set, but this program performed an operation which requires it." and "java.lang.NullPointerException". Then I used

 

java -jar -Djava.awt.headless=true squirrel-sql-2.6.5a-install.jar
 

Now I got "java.awt.HeadlessException" and "java.lang.NullPointerException"

 

 

Then I downloaded squirrel-sql-2.6.5a-standard.zip and unziped it. Then I went to "SQirrel SQL Client" directory and did "sh squirrel-sql.sh", but I got

 

Exception in thread "main" java.lang.NoClassDefFoundError: net/sourceforge/squirrel_sql/client/Main

 

 

I work on Linux Enterprise.

 

Any suggestions? Thanks so much!

 

David

 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Squirrel-sql-users mailing list
Squirrel-sql-users@...
https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users

Re: Help: Squirrel installation

by manningr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Tue, Jun 3, 2008 at 1:43 PM, David W <davidw589@...> wrote:

Hi ,

 

I downloaded squirrel-sql-2.6.5a-install.jar and tried to install it with

java -jar squirrel-sql-2.6.5a-install.jar

however, I got "No X11 DISPLAY variable was set, but this program performed an operation which requires it." and "java.lang.NullPointerException". Then I used

 

java -jar -Djava.awt.headless=true squirrel-sql-2.6.5a-install.jar
 

Now I got "java.awt.HeadlessException" and "java.lang.NullPointerException"


The installer has a graphical user interface.  Does the machine that you are attempting to install on have a working X-Server?  If so, perhaps this would help:

export DISPLAY=:0.0
 

Then I downloaded squirrel-sql-2.6.5a-standard.zip and unziped it. Then I went to "SQirrel SQL Client" directory and did "sh squirrel-sql.sh", but I got

 

Exception in thread "main" java.lang.NoClassDefFoundError: net/sourceforge/squirrel_sql/client/Main


Actually, that is the archive that was created on win32.  You probably want this one instead :

squirrel-sql-2.6.5a-standard.tar.gz

You should be able to extract it with

tar -xzvf squirrel-sql-2.6.5a-standard.tar.gz


Rob

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Squirrel-sql-users mailing list
Squirrel-sql-users@...
https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users
LightInTheBox - Buy quality products at wholesale price