Date: Tue, 10 Oct 2000 09:20:42 -0500 From: Jeremy Vandenhouten <jeremy.vandenhouten@marquette.edu> To: "Fabio Tonti" <staff@guest.net>, freebsd-questions@freebsd.org Subject: Re: R: java installation Message-ID: <523a005204fa.5204fa523a00@marquette.edu>
next in thread | raw e-mail | index | archive | help
Fabio, From my experience with Java under Unix, 2 things are necessary to get a program to run. First it has to be compiled with the statement: javac xxx.xxx Then it can be run by simply typing java xxxx (without the extension with x being the driver class) > Hi Dan, > Now I have bash installed for my login, thank to you. > > The problem now is that when I start a java class with > > java javaprogramm.class > > the system reply (always) > /usr/libexec/ld-elf.so.1: Shared object "libxpg4.so.2" not found > > I have jdk.1.1.8 succesfully installed on my freebsd 4.1 stable > > Who can help me? > > Bye. > Fabio > > % > %The .bash_profile file simply gets read by bash when you log in. > If the > %file doesn't exist, you can simply create it. man bash will give > you much > %more information about all the bash startup files and scripts. > % > %HTH > % > %Dan > % > %> -----Original Message----- > %> From: Fabio Tonti [mailto:staff@guest.net] > %> Sent: Tuesday, October 10, 2000 9:19 AM > %> To: rob > %> Cc: freebsd-questions@FreeBSD.ORG > %> Subject: R: java installation > %> > %> > %> Hi, > %> Many thank for your help, but I cannot locate the .bash_profile. > %> > %> Moreover using /usr/local/jdk.1.18/bin/java the system reply: > %> /usr/libexec/ld-elf.so.1: Shared object "libxpg4.so.2" not found > %> > %> I'm in troble with java .... > %> > %> The installation was right, without any error. > %> > %> Fabio > %> % > %> %You have to put the directory with your java binaries in > %> your path. For > %> %example I use in .bash_profile: > %> % > %> %export PATH=/usr/local/jdk1.1.8:$PATH > %> % > %> > %> > %> > %> To Unsubscribe: send mail to majordomo@FreeBSD.org > %> with "unsubscribe freebsd-questions" in the body of the message > %> > % > % > %To Unsubscribe: send mail to majordomo@FreeBSD.org > %with "unsubscribe freebsd-questions" in the body of the message > % > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?523a005204fa.5204fa523a00>