1. example running java on linux using CLI
[root@TeguhLab /]# su oracle
bash-4.1$ cd /
bash-4.1$ ./teguh.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
Graphical installers are not supported by the VM. The console mode will be used instead...
Preparing CONSOLE Mode Installation...
=======================================================
Installer User Interface Mode Not Supported
The installer cannot run in this UI mode. To specify the interface mode, use the -i command-line option, followed by the UI mode identifier. The valid UI modes identifiers are GUI, Console, and Silent.
=======================================================
bash-4.1$
2. IP address PC to access
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\teguh.triharto>ipconfig
Windows IP Configuration
Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::995d:c5d3:4163:a5b2%12
IPv4 Address. . . . . . . . . . . : 10.10.10.10
Subnet Mask . . . . . . . . . . . : 255.255.252.0
Default Gateway . . . . . . . . . : 10.10.10.1
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
C:\Users\teguh.triharto>
3. Open terminal on Unix/solaris/Linux server and export display base on PC
export DISPLAY=10.10.10.10:0.0
bash-4.1$ export DISPLAY=10.10.10.10:0.0
4. Run aplication example java from pc using xshell then press button Yes
[root@TeguhLab /]# su oracle
bash-4.1$ export DISPLAY=10.10.10.10:0.0
bash-4.1$ ./ManageEngine_OpManager_64bit_11600.bin
InstallShield Wizard
Initializing InstallShield Wizard...
Searching for Java(tm) Virtual Machine...
.
Preparing Java(tm) Virtual Machine...
..........................................................................................................................................................................................................................................................................................................................
bash-4.1$
5. Application now running
No comments:
Post a Comment