Solved

How to run java application over ssh?

Posted on 2004-10-02
5
220 Views
Last Modified: 2008-02-26
I have this program called azureus and want to run it over ssh, but it has a gui thing, so i get:

Configuring environment...
Loading Azureus:
/usr/java/j2re1.4.2_05/bin/java -cp :Azureus2.jar:swt.jar:swt-mozilla.jar:swt-pi
.jar -Djava.library.path=/root/azuraues/azureus org.gudy.azureus2.ui.swt.Main ''
Exception in thread "main" org.eclipse.swt.SWTError: No more handles
at org.eclipse.swt.SWT.error(SWT.java:2717)
at org.eclipse.swt.SWT.error(SWT.java:2616)
at org.eclipse.swt.SWT.error(SWT.java:2587)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:709)
at org.eclipse.swt.widgets.Display.create(Display.java:694)
at org.eclipse.swt.graphics.Device.<init>(Device.java:113)
at org.eclipse.swt.widgets.Display.<init>(Display.java:402)
at org.eclipse.swt.widgets.Display.<init>(Display.java:398)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:5
8)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThrea
d.java:45)
at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.ja
va:70)
at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:64)
at org.gudy.azureus2.ui.swt.Main.main(Main.java:104)
Azureus TERMINATED.


Is there a way that I could run it over ssh?

0
Comment
Question by:jtcy
  • 2
5 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 12207957
You would have to run an X windowing session over ssh
0
 

Author Comment

by:jtcy
ID: 12207966
more details pls...
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 20 total points
ID: 12207968
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now