General :: How To Set Java Path In Open Suse
Mar 2, 2010I want to know the procedure to set java path in open suse to get it into working state.
View 2 RepliesI want to know the procedure to set java path in open suse to get it into working state.
View 2 RepliesJava applet not loading image with relative path(e.g. images/1.jpg) but loads image with absolute path(i.e. from /root/user/images/1.jpg) . This is a problem when i want to host the applet on web server
View 2 Replies View RelatedI have downloaded java and installed it with chmod +x and then ./bin package.
Hereunder is an output from CLI (putty)
I understand that the system knows the java is in a wrong place but if I do java -version it finds it correctly. I don't know and I don't understand how do I need to tell the OS that the java is somewhere else, I just did that with export java home and java path but still dosen't work, it keep tells when I do whereis java "java: /usr/share/java"
Here is another output:
I have a program that has a GUI which I have placed in /usr/local/bin however when I invoke the program I receive the following error:
Unable to find a supported JDK or JRE version. Version 1.3.1 or higher is required. Check your installation and use +javahome to specify the JDK or JRE location
I have since installed Java into the usr/local/ directory however I am now just totally Lost! Additionally, I believe that i have tried to install Java several times with no luck.
Questions:
1) Where should java be installed to have system wide access to all programs?
2) How can I place the Java location in my $PATH? here I am going to need very easy and detailed instructions?
3) Is there a way to ensure that the location where I intall java gets updates?
I am trying to figure out how i can add the path /usr/sbin/ into the $PATH variable. I want this to be used from the normal account. I am bored settinh this manualy each time my computer starts.
View 2 Replies View RelatedI am trying to Install Open Suse 11.3 (burned as an ISO DVD) along with existing Win 2008 R2 OS. When I try to boot from the DVD it just logs in to Win2008 though boot from CD/DVD is enabled in the boot sequence. So i tried to mount the ISO and run from Windows ! BUT I get an error before installation starts telling that Win2008 R2 is not supported in open suse installer! Is there anything I can do to overcome this and install/retain both OS? In fact I am even trying to c hange my win2008 from R2 to Enterprise to see if I can overcome the problem!
View 9 Replies View Relatedi just grabed a book and wrote a program and tried to compile it using 'javac' and everytime i'm getting this error:
javac Example.java
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crt1.o: In function `_start':
/usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/x86_64/elf/start.S:109: undefined reference to `main'
[Code]....
Usually in Gnome, under Ubuntu, the terminal command I use is:
Code:
gnome-open (path)
In most cases, I won't know the path and I'd rather not search for it with:
Code:
locate (file name)
I have installed CentOS 5.5 and included the java development package. When I typed java -version, I got java 1.6.0. The problem is with the javac command, which is not found. I tried the following:
Didn't work!
I'm fighting my way through JAVA. But have hit another wall. Basically I need to to set paths in java so it can set/read files/director for Linux,Mac and windows.
The tutorials I'm using says to do this through the FileSystems class eg
Code:
However this reports it is missing, so a look on line says I need the headers so I set them with
Code:
This gives the following error
This has me totally confused as the tutorial shows this and checking online shows this, do I need to link in libraries or something like that?
I'm using the latest Ubuntu 11.04 and netbeans.
I installed an editor that works fine for root, but for user produces this error.
Code:
How does one set this thing?
I am not able to open excel file which is generated from java web application in Linux. The file is opening in Windows but not in Linux. I am not using Open Office. I have two different applications deployed in two different was7 servers in same Linux machine. Both the applications generate excel output stream which I open in IE. When I am trying the same application in Windows environment both are working fine, but in Linux I can open and download xls files in one application but not in other. I am using application/vnd-ms... as mime type and POI jars to generated excel, no errors in my debug log or system errors.
View 2 Replies View RelatedI intend to re-install open suse 11.2, 32-bit. On a previous install,suse did not provide a grub entry for ubuntu.My current setup has
ubuntu/root on /dev/sda6
ubuntu/home on /dev/sda7
ubuntu/usr/local on /dev/sda8
[code]...
OK... I tried everything i could think of... but i still cannot get my Open SUSE 11.1 to mount my samba share at boot! I still don't understand the 11.1 boot sequence. can NE one help me... tell me what files to give you output from... Ty guys P.S. My shares originate from a Windows Server 2003 RC2 machine, and it's dns server doesn't work correctly... so my mount command is
mount -t //192.168.x.x/files/ /nET/ -o username=linux,password=xxxxxx
please let me know what other info you need... I don't have the internet, so it will be tommorow b4 i see this again!!! Thanks
When i am adding a user using "useradd -d /home/test test" or "useradd test", it is now creating the home directory, whereas when i am using the graphical mode and going through several menu options, i am getting the home directory.
View 1 Replies View Relatedwe have installed ubuntuserver10.04 and globus toolkit4.1.2 but when insatll gt4.1.2.using ./configure,we get an error to set java path.the error is JAVA_HOME is not set..to unresolve it we again install the server edition along with all packages.we have set the path for java /usr/bin/java still we get the error.help me out
View 2 Replies View RelatedI recently installed java in ubuntu (ver#java1.6.0.00)with many pains.Now I need a clear class path for this java in ubuntu 9.10.
View 2 Replies View RelatedI'm setting up a RHEL 4 VM and have installed Oracle Java 1.6 from a bin file to /opt. I've added it into the PATH but when I try to run a installer that needs Java to run it says that it can't find a Java installation in my PATH but when I execute a which java I get the following:
Quote:
In SLES 11 a freshly installed system when I try to get the man pages I get a weird error. /usr/bin/nroff: Can't create temp directory, exiting...
I know this error is just confusing because mktemp work just fine.
I read around by googling but I can only find people relating the problem without any solution.
I found this post which is cute, but I dont want to set my LD_LIBRARY_PATH has it is just a bad patch to solving the real issue.
[URL]
Some info:
SLES 11 x64 guest OS on VMware ESX
with 3.8GB of free space ;-)
We are very new to linux.would you plz give me the installation procedure of ns2 in open suse..I have tried some procedure found in linux forums.The following problems arises
1.yum command not found in step 1.
2.on skipping step 1 ,i tried step 2 where on ./install command it gives.
Im relatively new to Linux - just started working with it this week - and Im having some trouble setting up NFS. We have a 12 computer cluster running open SUSE in our lab at school, and I am trying to troubleshoot the NFS system we have created.My basic question is this - I want to find the file that sets whether or not the NFS server and client processes run on setup. Google indicates that in most linux installations, these settings can be found in the /etc/rc.conf file. I cant find this file in open SUSE, so what Im trying to figure out is where I would find the equivalent commands in open SUSE. I am basically trying to find the lines highlighted in this: <http://www.freebsd.org/doc/handbook/network-nfs.html> article are stored. I already know how to enable/disable the NFS server/client using YaST in the GUI, but I would prefer to find the file directly, as changing the settings in the GUI involves plugging a monitor, keyboard, and mouse into each of 12 boxes, and is very time consuming. I can change files straight from the terminal command line - much faster.
Additional background:
We are using NFS in two ways on our cluster - firstly, we have installed the software package (Fluent) on the host computer, and then setup the host to share this folder with the 11 slaves. To do this, we set the host as an NFS server, with the 11 slaves as NFS clients of this folder.
Secondly, we have setup working folders on each of the slaves that we would like to use to store data (each computer has a 1.5TB drive inside). To do this, we have set each of the slaves as an NFS server, sharing the working directory with the host computer, which we setup as an NFS client of each of these 11 working folders.
The problem that I am experiencing is that each of these two things works properly by itself, but when we try to use a computer as both an NFS server and an NFS client at the same time (albeit to different folders), neither works.Any thoughts on how to move forward in troubleshooting this? My current plan of attack is to unplug all of the slaves except for one from the network, and try to get a single slave to communicate properly with the host. Once I get the first slave running, I was going to add additional slaves one at a time until they were all working. Thoughts?
I found the following function in /etc/profile file.
[Code]...
1. I dont undestand what "if ! echo $PATH | /bin/grep -qE "(^|:)$1($|:)"" this if statement actually comapres??
2. Also what is the difference between PATH=$PATH:$1 & PATH=$1:$PATH
10.3 - need to edit my PATH- pls advise editor and location of PATH.
View 2 Replies View RelatedI accidentally messed my Java home path with this command:
export JAVA_HOME=
And now I don't know what the real path is.
I am trying to set my java path so that it is in effect for all users including the root user. I set the path correctly in /etc/profile and that works for my personal user, but when i try to run the same commands using sudo, i get messages saying that it can't find the java path.
View 3 Replies View RelatedI tried to use different version of Python, and followed the Readme like this
./configure
make
make test
[code]...
I want to setup a NTP server on open SUSE 11.1. But I don't know whether it has been supported in the system, or it needs me to install a software manually.
View 4 Replies View RelatedI'm a beginner in working with SUSE linux and I don't know how to run a program(for example firefox-4) in Linux :-/
when I type firefox it starts but I've downloaded firefox-4 and I wanna know how can I run this one instead of the old one.
I have the same problem with opening other programs...
BACKGROUND: After years of having an idle machine with Linux on it, I want to use it everyday. My preferred distro is Debian Lenny. It is running on a 1999 Compaq that I want to use for testing. So far, configuration has been logical and steady.
PROBLEMS: So far, only Suse will install completely on my newer machine.
Fedora and Knoppix were also tried, and did not work.Where should I look to begin to troubleshoot this? This is not a rush job. I have time to do one or two things per day.
I have installed jdk1.6_0_0 to kubuntu 8.10. But javac command doesn't work yet.
How do I set path?
Here are the outputs i got from typign some commands