Fedora :: Set The Default Java Env Variable To New Installed Location
Sep 7, 2011
I installed new jre in linux. but i when i checked env variable $JAVA, it is showing old version. how to set the default java env variable to new installed location
View 1 Replies
ADVERTISEMENT
Jan 14, 2010
I installed fedora 12 very recently after which I installed a few files. I don't know where these files get installed. Is there a default location for newly installed files?
If there is one, is it possible to change the location?
View 1 Replies
View Related
May 6, 2010
i have added a tomcat startup service using chkconfig. I have set up JAVA_HOME and JRE_HOME as well ass alternatives to point to the correct location.I have an init script in /etc/init.d. When i start the tomcat service using [ /etc/init.d/<x> start ] everything works fine and the environment variables for JAVA_HOME and JRE_HOME are used correctly.Now i added the service <x> using chkconfig --add so that it can start on boot up. But now the service does not use the system environment variable for JAVA and JRE setup by me.Also after complete bootup if i try to start the service using [ service <x> start] the environment variable in the shell are not used. don't want to exclusively declare variables for JAVA_HOME and JRE_HOME in the init script.
View 2 Replies
View Related
Jul 28, 2010
I am a newbie to Linux. I tried setting environment variable using export JAVA_HOME=/usr/java/jdk1.6 but that was not permanent (i.e is was there for that terminal session). I want to know how can i set environment variable permanently in Fedora 13 just like we do in windows.After google search, some user suggested to edit bashrc and profile file for setting environment variables but above file contains some shell programs.
View 3 Replies
View Related
Aug 16, 2011
I'm trying to get Rigs of Rods working on Fedora, but I've run into problems. RoR uses wxGTK development version 2.9, but Fedora only uses the stable 2.8. When I compiled and installed wxGTK and other RoR depencies not available with yum, some installed to /usr/local/lib and not the CMake expected location /usr/lib64 (LD_DEBUG=libs /home/user/ror-trunk/bin/rorconfig) I had to add "CMAKE_CXX_FLAGS:STRING=-ldl" to CMakeCache.txt to get RoR to compile, and tried adding "CMAKE_LIBRARY_PATH:PATH=/usr/local/lib" and "wxWidgets_LIBRARIES:PATH=/usr/local/lib" to try and fix
ldd rorconfig | grep -i libwx
libwx_baseu-2.9.so.1 => not found
libwx_gtk2u_core-2.9.so.1 => not found
libwx_gtk2u_html-2.9.so.1 => not found
libwx_baseu_net-2.9.so.1 => not found
libwx_gtk2u_adv-2.9.so.1 => not found
but it didn't work. ldconfig hasn't helped either.
View 2 Replies
View Related
Feb 2, 2010
how do I set that my java to use GTK theme for GUI as default?
View 2 Replies
View Related
Jun 13, 2011
I try to install the java plugin but the java test pages show not installed. I have tried the openjdk-6-jdk package and the Oracle/Sun 1.6.0_26 version to no avail.
Is there some good instructions page someplace? I have yet to find a set of instructions that provides something clear that works.
View 5 Replies
View Related
Apr 15, 2010
Is it possible to have both 32 and 64bit java installed? I am trying to run the java SAP GUI. Im using F12 64bit and have got a working 64bit java. The SAP GUI errors when trying to connect and it looks like it wants 32bit. I found a doc saying to run the following which I have done but still not working.
export PLATIN_JAVA=/usr/java/jdk1.6.0_06/jre/bin/java
export PLUGIN_HOME=/usr/java/jdk1.6.0_6/jre/plugin
export JAVA_HOME=/usr/java/jdk1.6.0_6/jre
changing to my location of java. My java setup is as follows but im not sure whats going on.
java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)
[ltodd2@UK00855F java]$ alternatives --config java
There is 4 program that provides 'java'.
Selection Command
-----------------------------------------------
1 /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java
2 /usr/lib/jvm/jre-1.5.0-gcj/bin/java
[code]....
View 6 Replies
View Related
Jan 29, 2010
Do Windows XP, Vista, Windows 7 and all Linux distributions have Java JRE installed so end-users don't have to install it to run Java applications?
View 4 Replies
View Related
Nov 13, 2010
I'm trying to install Go (programming language):
[URL]
The installation was OK, but I can't find where the PATH variable is set for 10.10 netbook remix.
Code:
~$ echo $PATH
gives:
Code:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
View 9 Replies
View Related
Nov 22, 2010
#the file temp contain a path to a directory int the first line
a= `head -1 temp`
bash: /home/ram/linuxTraining/scripting/testDir/test1Dir/test2Dir: is a directory
View 4 Replies
View Related
Sep 22, 2010
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?
View 1 Replies
View Related
Sep 29, 2009
How do I go about installing these desktop. I installed with the default Gnome from the DVD. I just want choice and I'm curious.
View 1 Replies
View Related
Jul 7, 2011
i always wanted to ask this question is that in windows if we install any program or software ...it is by default stored in c://program files/<package name> but in linux specially in fedora i have installed many apps and compilers ..bt dont know were it got installed were the softwares are getting installed by default in f14 ?
View 3 Replies
View Related
Oct 1, 2010
I 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:
View 10 Replies
View Related
Feb 20, 2011
I have a bash script that calls a java class method. The method returns a string to the linux console when run independently. how can I assign the value from the java method to a variable in a bash script?running the script: java -cp /opt/my_dir/class.method [parameter]
output: my_string if added in a bash script:
read parameter
java -cp /opt/my_dir/class.method [parameter] | read the_output
echo $the_output
the above doesnt work, I also tried unsuccessfully:
the_output=java -cp /opt/my_dir/class.method [parameter]
the_output=`java -cp /opt/my_dir/class.method [parameter]`
java -cp /opt/my_dir/class.method [parameter] 2>&1
How can i get the output stored into the_output variable?
View 6 Replies
View Related
Jun 8, 2010
I recently set up a Linux VPS and installed JDK 6u20 on it; I tried running a class and here's the result
Code...
The file "Server.class" is in the location I specified - why am I still getting the error?
View 3 Replies
View Related
Jun 10, 2009
I've just downloaded F11 i386 installation DVD. I installed it on my laptop and just now noticed that PAE kernel got installed. Isn't PAE for systems with RAM >3.2 GB? It's a pretty old laptop (P3, 256MB ram). So, is PAE kernel ok for me or should I reinstall from scratch and use some specific switches in the installer to get non-PAE kernel? I've also read that Yum doesn't recognize PAE packages dependencies and will install non-PAE kernel modules if I try to install let's say Nvidia driver or so.
View 11 Replies
View Related
Feb 5, 2011
i understand ubuntu comes with opensource ati drivers installed by default?(Correct me if I am wrong)So does Fedora come with open source drivers installed by default too? or do i need to install them as well.I have radeon x700 card...and there is only one game that i would like to play on fedora 14 is Warhammer 4000: Soulstorm (2008 game)Will the open source drivers be enough or do i need to install the proprietary ones...(and is it hard?).
View 1 Replies
View Related
Jan 12, 2011
I installed F14, then dropped in my passwd, group, and shadow from F9 w/o backing up
what F14 had done. So now I get some messages about missing users like rtkit
and missing groups.
Is there an easy way to find out what default users and groups F14 would have installed?
View 1 Replies
View Related
Dec 25, 2009
my java version is this
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode)
And when i am trying to run my gameserver scripts i get this error.
root:~# /home/l2jserver/login # ./L2JConfig.sh Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
at java.awt.Window.<init>(Window.java:431)
at java.awt.Frame.<init>(Frame.java:403)
[code]....
This is not my desktop computer but my remote server.
View 1 Replies
View Related
Apr 8, 2010
What is the default download location in ubuntu?
View 1 Replies
View Related
Nov 1, 2010
I saved a file with vim, but not really sure where it is. I didn't specify a save location, just :w filename.
View 3 Replies
View Related
Mar 17, 2010
I run ubuntu karmic 64 bit and have 2 displays (Working just about perfectly ). One problem i do have is by default all desktop icons appear on my secondary display. Is there any way to change it so they appear on my primary display?
View 3 Replies
View Related
May 13, 2010
Is there a way to automatically have Nautilus start up in a specific folder? I run it out of the desktop not out of terminal.
View 3 Replies
View Related
Jul 11, 2010
I was just wondering , when you create a new user , where are the files that make it ? , like the "default" home folder?
View 7 Replies
View Related
Jul 18, 2011
I have got a question, my fileserver is up and running and is working great but if i want to download something by HTTP using the command wget [url] it does not show up in my server...
I think this is because my server location is : /Home/samba/
How do i change my default download location to /Home/Samba/ so i can see this in my network?
Running ubuntu server 10.04 headless using putty SSH
View 1 Replies
View Related
Jul 23, 2011
I am moving to Banshee on all of my 10.04 systems (anticipating the future of Ubu). Banshee has been doing something I don't understand and which seems very wrong (and which is actually causing some problems, if minor). First let me explain the arrangement. I have a server with a music share we'll call server:/tunes. On all of the machines and for all the users there is a mount (/media/tunes/) for said share.
Additionally so that all users have the same transparent experience, each user has a shortcut at ~/Music/tunes (which points to /media/tunes/). Through this I don't need to alter the default library location and all of the music on the server is automatically part of every library (and all library content and playlists have the same paths). However, Banshee has decided for some files to do one of three things:
1. It points (correctly) to only ~/Music/tunes/path/to/song.flac
2. It points (wrongly) to only /media/tunes/path/to/song/flac
3. It points to both and there is a duplicate entry
I have not knowingly given Banshee the path /media/tunes/anything.
View 8 Replies
View Related
Jun 12, 2010
Using openSUSE 11.2 & 11.3, where should I look for the default printer settings?
I have a Brother HL-1440 laser which for some reason prints right down to the bottom of the page cutting off the top part of the last line on that page. The default settings for the top and bottom margins are 0.50 inches. During installation using Yast2, the test page printed with correct borders.
When I change the bottom margin in options (from Ctrl-P), the page prints with the bottom margin set to 0.50 inch. The problem is I have to reset that margin every time I print a new document.
Where can I change that default setting? I've searched in /etc, /var, and /home but can't find it.
View 3 Replies
View Related
Jan 16, 2011
i want to know where does yum installs the software that i install with it ? is there any way to change the default location for yum Downloads ?
View 1 Replies
View Related