note please disregard tthat last email, I accidently hit send when I wanted to
hit save.
Ok, I have two problems.
First I cannot get the Sun java compiler to run. I extract the files as su to
/usr/local/java. Then when I go to compile a tes program, I make sure I am in
the directory which the source file is, then type javac filename.java. I get
jvac bad command. So I type /usr/local/java/jdk1.3/javac filename.java, did
not work, tried /usr/local/java/jdk1.3/bin/javac filename.java. According to
sun, this is where javac should reside. I have programmed in java often,
using sun's compiler, except in Windows. The process is actually identical, so
I can't figure out what is not working. I have tried downloading the package
again as well. Does anyone have SDK 1.3 for Linuxworking?
Secondly, I want to change my PATH variable. I open up .bashrc and there is
not PATH set????? So I set my path inside theif statement. Now when I start a
new terminal, bash echoes /usr/din directory exists or something like that. I
am assuming that that means the path has been set to that directory
successfully. The problem I am having is that it only echoes the first two
items in my PATH setting, no matter what they are?
This is my current .bashrc.
# see /usr/share/doc/bash/examples/startup-files for examples
PATH= /bin : /usr/bin : /usr/local/java/jdk1.3/bin :/usr/bin/X11
# If running interactively, then:
if [ "$PS1" ]; then
# enable color support of ls and also add handy aliases
eval `dircolors`
alias ls='ls --color=auto '
#alias ll='ls -l'
#alias la='ls -A'
#alias l='ls -CF'
#alias dir='ls --color=auto --format=vertical'
#alias vdir='ls --color=auto --format=long'
# set a fancy prompt
PS1='\u@\h:\w\$ '
fi
When I bring up a terminal window, this is all that is echoed.
bash: /bin: is a directory
sam060@storm:~$
****************
I am sure the answer to both of these questions is trivial, but I can't get the
knack of it.
Any help would be great, as my last Java assignment is due Friday at midnight,
and I would really like to say I did it using a linux machine.
Thanks
Shea martin
_______________________________________________
Stormlinux-users-list mailing list
[EMAIL PROTECTED]
http://www.stormix.com/community/lists/listinfo/stormlinux-users-list