Hello Liuchao:
You need to set /etc/profile in order to run (
javac and java) from anywhere in your
filesystem. In order to accomplish this, go to the directory /etc.
Then look for the file pprofile.
Also, use a text editor such as emacs or vi the edit this file. In thi
You can either set the path in the system boot up script or better still if
you set it in your profile file. In linux your profile files will be in
your home directory for instane if your login userid is liuchao, then your
home directory will be /home/liuchao. look for profiles by typing ls -a at
>save this file and reboot your system.
Why would you reboot your system just because you change your shell
configuration file..?
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact
On Mon, 9 Apr 2001, Ezra Taylor wrote:
> Hello Liuchao:
> You need to set /etc/profile in order to run (
> javac and java) from anywhere in your
> filesystem.
Change /etc/profile if you want java available by default for all
users of the system.
Otherwise, you should change only the perso
Since you're using linux, I'll give my examples assuming you're using
bash as your primary shell. I've usually had the best luck setting
environment variables in my .bashrc file and deleting my .bash_profile
and then setting .bash_profile as a symlink to my .bashrc.
To see what I'm talking about,
Hi,
In my java application, I need to call my existing c functions. There are some struct
data types in my C function, how to handle these ?
Thanks in advance.
Zhihong Pan
Chek, Inc
--
To UNSUBSCRIBE, email to [EMAIL PROTEC
On Mon, 9 Apr 2001, Aaron Brashears wrote:
> Be sure to copy anything important out of .bash_profile into
> .bashrc. Of course, if you just append the contents, it will save some
> time.
Uh. This is NOT a good idea. .bashrc is run whenever a child shell
is launched. IE every time a command yo
On Mon, Apr 09, 2001 at 12:49:56PM -0500, Joi Ellis wrote:
> On Mon, 9 Apr 2001, Aaron Brashears wrote:
> >
> > $ cat .bash_profile >> .bashrc
> > $ rm .bash_profile
> > $ ln -s .bashrc .bash_profile
>
> No, no no. Don't DO this! Now you're running everything multiple times!
Hm, interesting.
On Mon, 9 Apr 2001, Aaron Brashears wrote:
> Hm, interesting. It's the only way I've found to keep things straight
> when using ssh. I don't actually run any scripts in my .bashrc - the
> contents are:
>
> . ~/.env
>
> And .env sets the environment.
I use ssh daily and don't have any problems
When I call c function in my java application, I got the following error message:
#
# HotSpot Virtual Machine Error, Unexpected Signal 11
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Error ID: 4F533F4C494E55580E43505005BC
#
# Problematic Thread: prio=1 tid=0x804e50
On 9 Apr 2001, Zhihong Pan wrote:
> When I call c function in my java application, I got the following error message:
> #
> # HotSpot Virtual Machine Error, Unexpected Signal 11
> # Please report this error at
> # http://java.sun.com/cgi-bin/bugreport.cgi
> #
> # Error ID: 4F533F4C494E55580E43505
If this is a JNI program you may get more verification that it was inside
your own code or from the VM from running with -classic .
The new 1.3.1 release will have better hotspot diagnostics than the cryptic
message below. If you do 'man ascii' you can read off the file name below,
(its in hex) t
Hello,A problem was happened when I use JNI in linux to
call my c programme. I used jdk1.3 and the following is my little test
programm:--JavaCallC.java---import
java.lang.*;public class JavaCallC{ public
JavaCallC() {
System.loadLibrary("javac"); } public nat
> Chao Liu wrote:
>
> A problem was happened when I use JNI in linux to call my c programme.
> I used jdk1.3 and the following is my little test programm:
>
> [...]
> System.loadLibrary("javac");
> [...]
>
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no javac in
> java.library.p
14 matches
Mail list logo