LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Oracle Unbreakable - pcAnywhere (https://www.linuxquestions.org/questions/linux-newbie-8/oracle-unbreakable-pcanywhere-795810/)

Covinas 03-16-2010 10:55 AM

Oracle Unbreakable - pcAnywhere
 
Hi Guys, this is probably my third day doing ANYTHING with a linux box. I am basically trying to install pcAnywhere from the terminal. I followed their directions and successfully got java downloaded and installed.

[root@callcenter1 ~]# java -version
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Server VM (build 16.0-b13, mixed mode)
[root@callcenter1 ~]#

Now when i try to navigate to the folder on the cd to install the .jar file for pcAnywhere, i get the following.

[root@callcenter1 ~]# cd /media
[root@callcenter1 media]# ls
cdrom
[root@callcenter1 media]# cd cdrom
[root@callcenter1 cdrom]# ls
autorun.inf Setup.exe Symantec pcAnywhere CrossPlatform Tools
Bin Setup.ini Symantec pcAnywhere Gateway
Docs SetupLinuxMac Symantec pcAnywhere Mobile
README.TXT Symantec pcAnywhere Symantec pcAnywhere Web Remote
[root@callcenter1 cdrom]# cd Symantec pcAnywhere CrossPlatform
bash: cd: Symantec: No such file or directory
[root@callcenter1 cdrom]# cd Symantec pcAnywhere CrossPlatform Tools
bash: cd: Symantec: No such file or directory
[root@callcenter1 cdrom]# java -jar SetupLinuxMac.jar
Unable to access jarfile SetupLinuxMac.jar
[root@callcenter1 cdrom]#

Forgive me for being a total noob and not even being able to change a directory /facepalm

I also found the file throught he file browser and right clicked it/open with java, it gets all the way through the installation and then i get an error that says JVM not found.

What the heck am i doing wrong????

smoker 03-16-2010 11:08 AM

What does ls -l say from /mnt/media/cdrom

If there are spaces in the name, you have to quote the name.
eg.
cd "Symantec pcAnywhere CrossPlatform Tools"

But I expect all those are separate directories.

jamescondron 03-16-2010 11:10 AM

First consider whether you actually need PcAnywhere; you'll probably find you don't, and that perhaps you're looking at this as if it were Windows, not Linux.

Now, if you look at some of the cd commands, they're erroring. This is because filenames/ directory names cannot have spaces in, or at least shouldn't. If they do you either need to do what is known in the programming world (and by extension in the computing world) as escaping. Try:

Code:

cd Symantec\ pcAnywhere\ CrossPlatform/
or
Code:

cd "Symantec pcAnywhere CrossPlatform"/
Notice the top one puts a backslash in front of the spaces, and the second encompasses in "" instead.

But thats alright, we've all done in.

But yes, what exactly are you hoping to use pcAnywhere for? Where are the two computers relative to one another? This sort of thing is built in, you know, to Linux. No need to pay or anything ;)

Covinas 03-16-2010 11:35 AM

hooray, i was missing some " and a / at the end of the command. Now, when i run the java -jar SetupLinuxMac.jar command i get "Could not create java virtual machine" error... Think i need to reinstall java???

dsmyth 03-16-2010 11:42 AM

took me a week to learn that /media folder contained the cdrom. so you know....

top tip, be-friend the tab key!! pressing tab autocompletes stuff for you. really handy for files and folders with spaces in it. if you type

Code:

cd Syma<Then Press Tab>
it will autocomplete the input for you and will escape the spaces!!. if you wrap in single quotes its a little better...

Code:

cd 'Syma<Then Press Tab>
becomes

Code:

cd 'Symantec have you now.'
If you can't remember the name of a command or if there are many matches then press Tab twice and it will show you the options. :)

Tab is brilliant. I learned that soon enough.

smoker 03-16-2010 11:53 AM

Try specifying the path to java in the command

eg.
/usr/bin/java -jar SetupLinuxMac.jar

Covinas 03-16-2010 12:29 PM

you guys are all my friggin hero's. The Tab thing in Terminal helps out TONS...... Now, I got the installation package to pop up but it gets to about 73% then i get an error message saying JVM not found.

jamescondron 03-16-2010 12:44 PM

Perhaps you could answer my question. Are you sure this is what you need? You have *all* the software you need for pcAnywhere already installed, if not in a position where it can be installed far simpler and quicker than this

smoker 03-16-2010 12:46 PM

Is java in your path ?
http://www.cyberciti.biz/faq/linux-u...path-variable/

Covinas 03-16-2010 12:51 PM

Quote:

Originally Posted by jamescondron (Post 3900686)
Perhaps you could answer my question. Are you sure this is what you need? You have *all* the software you need for pcAnywhere already installed, if not in a position where it can be installed far simpler and quicker than this

I'm not exactly sure what you are asking. Do i "Need" pcAnywhere on this machine, well no, i'm sure there are other apps that can be used with the same functionality. Our server envirnment is 80% windows 2k, 20%Linux. We just installed 7 new servers that require linux to operate our new software. We need to have some sort of remote access capability. It just seems easier to connect remotely to 100% of the network via pcanywhere rather than 80% pcAnywhere and 20% some other applicaton.

jamescondron 03-16-2010 12:55 PM

Okay, okay, you're going about this all wrong. If that is the case you only want SSH; SSH is the heir apparent to Telnet, if you remember using that. SSH has a far better authentication and encryption base than Telnet and is the industry standard.

It is also already installed for you, or so I would assume; its rare not to find SSH installed.

RaelOM 03-16-2010 01:59 PM

Yea, don't subscribe to the "One Ring" theory of IT tools. You'll just cause more trouble than you're trying to solve.

Download putty and connect via ssh to your OEL installation. You probably won't be able to login through ssh as root initially since /etc/ssh/sshd.conf is set to PermitRootLogin no by default often. So you'll have to connect as a regular user you've defined through useradd command.

You'll also want to likely get Exceed or Cygwin installed for X11 emulation on your desktop for whenever you need to install Oracle stuff. Unless you're proficient in silent installs and response files Oracle almost always launches an X11 window.


All times are GMT -5. The time now is 08:46 PM.