PDA

View Full Version : Citrix java client on mac os X 10.1


jtsheldon
01-21-2002, 04:39 PM
Hello,

I have been following the suggestion from griffman on how to enable the java client on Mac OS 10 for citrix.

I am successful and been following the instructions to a 'T'. However when I get to your chmod command the following error occurs:

[localhost:~/applications/citrix] jshel% chmod 755 jicasession
chmod: jicasession: No such file or directory

I created the pnsession and jicasession through the TextEdit program that is delivered with Mac OS X. I also did NOT browse but entered in my destination of files from setup.class install prompt GUI (Users/jshel/Applications/citrix)

If griffman or anyone else could help me out I would appreciate it.

Jeff

griffman
01-21-2002, 06:52 PM
Is the file named "jicasession" in that directory? I know that seems like an obvious question, but that's the cause of the error message - chmod can't find the file.

In the Finder, do you see 'jicasession' in the citrix directory? If not, it somehow didn't get saved to the right spot.

-rob.

jtsheldon
01-21-2002, 10:36 PM
Hi Rob

Thanks for the response. Yes the file jicasession is located in the /Users/jshel/applications/citrix directory. If I do an 'ls' on the directory the jicasession shows as jicasession.rtf...is this a problem? In GUI it simply shows as jicasession but then again there is a setting in OS X to not show file types which I think I have enabled.

Jeff

jtsheldon
01-22-2002, 04:35 PM
Rob,

In your documentation you indicate that this is a shell script. In reading the Citrix documentation plus other user comments the file I am create doesn't appear to be a shell script file.

I open TextEdit paste in the three line command and then do a save as 'jicasession' into /Users/jshel/Applications/citrix directory.

The chmod command cannot find the file perhaps because it is just a normal text file.

How can I convert

#!/bin/sh
CLASSPATH="JICAEngJ.jar:$CLASSPATH" ; export CLASSPATH/usr/bin/java com.citrix.pn $@

and

#!/bin/sh
CLASSPATH="JICAEngJ.jar:$CLASSPATH" ; export CLASSPATH/usr/bin/java com.citrix.JICA $@

into a shell script file?

Jeff

griffman
01-23-2002, 01:53 AM
Make sure that TextEdit is set to pure text mode. If you see the ".rtf" extension, it's saving in Rich Text mode, which will NOT work.

Save it as plain text, don't append the extension, and you should be able to "chmod" it in the Terminal after that.

-rob.

jtsheldon
01-23-2002, 11:39 PM
Rob,

First thanks for the easy 'how to' on mac OS X Hints. You were right, I overread 'pico'. It has been awhile since using UNIX since my new company is Windows File Servers, so I overlooked that statement.

Once I removed the big L from my forehead, created the files in pico, the java client successfully launches.

Thanks for your help.