怎样在KDE下执行程序?

怎样在KDE下执行程序?

一个迷惑的问题:如何在KDE下执行文件,具体一点就是VisualRoute

我解开tar包后得以下文件:

[root@mail vr5]# ls
README-FREEBSD.txt  README-SOLARIS.txt  UnixService.class  data  java          packlist.txt  vr      vr.class
README-LINUX.txt    README.txt          VisualRoute.sh     exe   license.html  readme.html   vr.bin  www

在提示符下敲:./bin 无法执行,再敲java vr还是出错!

我知道它是在KDE下执行,但我不知如何运行啊!

是点两下鼠标吗?      
文件分得不清楚<img src=http://www.linuxeden.com/forum/images/icons/icon16.gif>
看看readme.txt先      
多谢老兄提醒,文件在此!
ReadMe file for Visualware's VisualRoute(tm).

                 LINUX VERSION 5.4a

+--------------------------------------------------------------------+
|     PLEASE, read this file completely before proceeding, thanks.   |
+--------------------------------------------------------------------+

     ----- Program Requirements -----
1. Linux kernel 2.2.12-20 or above (VisualRoute may work on earlier versions.
        RedHat 6.1 and SuSe 7.1 were used for testing.)
2. Architecture - Intel architecture only.
3. Windowing environment for output display.
4. A Java Virtual Machine (a JVM) either a JRE or a JDK
        VisualRoute has been tested with JVMs from Sun, IBM and Blackdown.
        VisualRoute is not supported on Kaffe JVM.
5. TCP/IP Stack
6. Internet Connection
7. GNOME environment is strongly suggested in order to not have to override
   default application selections. Reference:

        http: //www.gnome.org

   for more information.  Also, be sure to check on your Linux distribution.

     ----- Items of note -----

VisualRoute will still work without the following applications; you will just
not get the functionality provided for the menu items referenced in each section.

1.) The VisualRoute 'Help' menu item invokes a browser to access web pages.
Netscape Communicator is the default.  If you want another browser started, set
the environment variable VR_BROWSER to specify the browser to start.  You must
either specify the absolute path, or the browser must be on the path.  If you
do not have Netscape Communicator installed, and do not specify another browser
the web page accesses will not happen.  By default, the netscape-communicator
binary is assumed to be on the path.

To download Netscape Communicator (make sure to check on your Linux distribution
first) reference:

        http: //www.netscape.com

and select the "Download" link at the top of the page.  Follow the instructions
presented.

2.) The VisualRoute 'Edit | Snap table as text...' menu item uses a text editor
to capture the generated report.  By default GNU Emacs is used.  If you want to
start another editor, set the environment variable VR_EDITOR or VR_EDITOR_EQ
(see below) to specify the editor to start.  The editor must be started in a new
window.  When the environment variable is set, the default editor is overridden,
and the specified editor is started with name of the file to edit, supplied by
VisualRoute, appended to the end of the string provided by the environment
variable.  If both VR_EDITOR and VR_EDITOR_EQ are set, VR_EDITOR_EQ is used.

For more information on GNU Emacs reference:

        http: //www.gnu.org/software/emacs/emacs.html

To obtain GNU Emacs (make sure to check on your Linux distribution first)
reference:

        http ://www.gnu.org/order/ftp.html

Scroll down quite a ways to the heading "How to FTP GNU Emacs."

The environment variable VR_EDITOR_EQ (EQ for "end quote") appends a double
quote after the file name supplied by VisualRoute.  This is used, for example,
when using the "gnome-terminal" command to start a new window and using the -e
option to specify a program to start.  The double quotes are needed to pass
both the program and a parameter to the program (the file name).  For example,
to start vi as the editor using a gnome-terminal the following is the desired
resultant command to edit a file named 'dog':

        gnome-terminal -e "vi dog"

(This assumes the gnome-terminal and the vi binary files are on the path.)

In this case, in order to get the ending double quote, set the environment
variable VR_EDITOR_EQ. For example to create the string above, if VisualRoute
used the file name 'dog', set the VR_EDITOR_EQ environment variable as:

     VR_EDITOR_EQ="gnome-terminal -e \"vi ";export VR_EDITOR

(This assumes the gnome-terminal and the vi binary files are on the path.)

This (bash shell) example uses a Gnome terminal to present the vi editor
session in a new window.  The backslash character, '\', is used to escape the
double quote character, '"', following it so that the shell does not interpret
it as the ending '"' character.

If you do not have GNU Emacs installed and you do not specify another editor to
use, then nothing will start for this menu item selection.  By default, the
emacs binary is assumed to be on the path.

3.) Right mouse clicks in the VisualRoute report 'Node Name' column access the
WHOIS server information (RFC954).  Informational items presented include an
e-mail address.  If the e-mail address is clicked, VisualRoute starts an e-mail
application.  By default this is Pine(r); a 'P'rogram for 'I'nternet 'N'ews and
'E'mail.  If you do not have Pine the binary is available via anonymous ftp
(make sure to check your Linux distribution first) from:

        ftp .cac.washington.edu

in the directories /pine/unix-bin or /pine/unix-bin-compressed.  (Make sure to
get the Linux binary.)


For more information reference:

        http: //www.washington.edu/pine

If you want to start another e-mail interface, set the environment variable
VR_EMAIL or VR_EMAIL_EQ (EQ for "end quote") to specify the application to
start.  (See #2 above for a discussion of ..._EQ environment variables.)  The
specified email application must be started in a new window. Note that the
recipient's name is appended to the string provided by the VR_EMAIL or
VR_EMAIL_EQ environment variable.  

For example, if Pine were not the default selection, to set Pine to be the
e-mail application started use VR_EDITOR_EQ as follows:

        VR_EDITOR_EQ="gnome-terminal -e \"pine"; export VR_EDITOR_EQ

(This assumes that both the gnome-terminal and the pine binary files are on
the path.)

This bash shell example uses gnome_terminal to start Pine in a new window to
send e-mail to the receipient name provided by VisualRoute. This will cause
the final string, which is executed via a system() call, to be:

        gnome-terminal -e "pine <recipient's_name_appended_here>"

If you do not have Pine installed and you do not specify another e-mail to
use, then nothing will start for this menu item selection.  This
gnome-terminal launch method is the default method used for the e-mail
application launch.


     ---- Determining the Java Runtime Environment version ----
Enter the command 'java -version' or  'jre'.  The version number is displayed.
If java or jre is not on the path, you will need to specify the absolute path.


     ---- How to obtain the Linux JDK Port ----
Reference:

     http ://www.blackdown.org/java.linux/ports.html

to obtain the JDK port to Linux.  Before downloading from a mirror site make
sure to read the "Release Notes" available by clicking on the link in the
"Release Information" column.  After reading the release notes click on the
link in the "Availability" column to get to a mirror site.  The port is only
vailable from a mirror site.  At the mirror site select the
appropriate file to download.  For example, to test VisualRoute the file path
JDK-1.1.7/i386/glibc/v3 was followed to get the file
jdk_1.1.7-v3-glicb-x86.tar.gz.  


======================================================================
How is the Linux version different from the Microsoft Windows(tm) version?

The Linux version uses a different "ping" engine to elicit network responses.
It also brings up different applications for the'Edit | Snap table as text...',
the 'Help' menu items, and e-mail.

If web access (which can take several seconds to appear), the Edit menu item
operations, or e-mail access fails, it may be because the path to the
appropriate application is not in the PATH environment variable.  Specifically,
the path to 'netscape-communicator' for browser access, the path to 'emacs' for
the editor, and the path to 'pine' for e-mail for the defaults.  Or, the path
to the application specified by VR_BROWSER, VR_BROWSER_EQ, VR_EDITOR,
VR_EDITOR_EQ, or VR_EMAIL, VR_EMAIL_EQ.


If you have used VisualRoute previously, the functionality should be the same.

======================================================================
What to note in this Linux version:

(Please note the version of the OS you are running, and the distribution source.)

1.) Did you have to do anything "special" to get VisualRoute to run.

2.) Did the editor come up for the "Edit | Snap table as text..."
option? (If not, are you running GNOME? What happens if you enter
'which gnome-terminal'?)

3.) Was the web accessed for Help menu item selection?

4.) If you have previously used VisualRoute did things "seem the same?"

5.) Any other comments on this version?


我看不懂西洋文!      
你装过JRE 或 JDK吗?
(这是要求之一)
要执行文件的话,打开一个console(就像windows里的msdos方式)
在当前目录下执行sh VisualRoute.sh
如果不行,试试执行vr.bin      
我是这样搞定它的,我,没看readnme呀---浪费时间 !

我用root进入 kde后,打开console(就像windows里的msdos方式)

再输入/usr/local/jdk13/bin/java vr

就可以了,但要注册码呀,不然30后就死敲敲了!

那位老兄有啊!我的是5.4a的版本,顺便说一句,我装那个

magic后VisualRoute就无法运行了,说字库要不得!