General :: Setting JAVA_HOME - What Is The Default Path They Are Installed

Dec 30, 2009

I installed "jdk1.6.0.bin" and "jre1.6.0.bin" successfully. But I don't know where they are installed. I can't find anywhere. What is the default path they are installed.I want to set JAVA_HOME.

View 1 Replies


ADVERTISEMENT

General :: Java_home - How Check The Path Has Properly Set Or Not

Feb 13, 2011

I have installed jdk1.60_23 i have created a directory named java in root's Home, jdk has installed in jdk1.60_23 directory in java how to set path to compile or run the java file ?

I did like this : export JAVA_HOME=/usr/bin/java/jdk1.60_23/bin export PATH=$JAVA_HOME:/usr/bin/java/jdk1.60_23/bin

How check the path has properly set or not ? how and where create source file of java ? how to compile and run the java source file ?

View 2 Replies View Related

General :: Setting JAVA_HOME In .bash_profile Doesn't Work

Apr 15, 2009

I have some Flex and Java files which can be compiled with JDK1.5. My server was already loaded with 1.4 (at path /usr/bin/java) and our sys admin(I dont know why) copied another JDK, JDK 1.5 at path /usr/java/jdk1.5.0_16/. It seems very easy to use this java. Just set the path in .bash_profile. I did it and now if I run which java I still see the path for java 1.4 not java 1.5. Am I doing something wrong? Following is actual entry from bash_profile

Code:
PATH=$PATH:$HOME/bin
PATH=/usr/java/jdk1.5.0_16/bin:$PATH
JAVA_HOME=/usr/java/jdk1.5.0_16/
export PATH JAVA_HOME

View 3 Replies View Related

Server :: Setting Default Path For VirtualDocumentRoot?

Jul 4, 2010

I have my server setup so I have to create the user account and directory structure for a domain, add the domain to the httpd.conf file, but then I can create subdomains by adding a folder.

This is my config:

Code:
<VirtualHost *:80>
ServerName brandonwamboldt.ca
ServerAlias www.brandonwamboldt.ca brandonwamboldt.com www.brandonwamboldt.com

[Code].....

View 1 Replies View Related

Software :: Defined JAVA_HOME Is Not Picked Up Some Other Path Taken

Aug 1, 2010

OS Ubuntu 9.04

I have in /etc/profile.d/jdk.sh

Code:

But when I am typing

Code:

which java I see

Code:

Which is not set in PATH.

View 4 Replies View Related

Slackware :: Setting The JAVA_HOME Variable ?

Jan 10, 2009

I have problems with setting my JAVA_HOME variable. I am using Slackware 12.0, bash shell. This is a question for the 'Linux Newbie' forum (not slackware-specific).

I have set JAVA_HOME in my /etc/profile, like this:

But when I login in with my user name and type env on the command line, I get for JAVA_HOME the following:

Also, in my /etc/profile I have put the path to my java in the PATH variable, like this:

And when I type env when I login, then the PATH variable contains correctly the path to the jdk (as I have put it into /etc/profile).

I expect that after I have set everything as I want in /etc/profile, and restart the computer then what I have set will be relevant and when I login and type env, I will get values to the variables equal to those I have set in /etc/profile. Why it does not happen?

I have particularly a problem with a Java application, which I want to run. When I type ant, I get:
error: JAVA_HOME is not defined correctly. We cannot execute /usr/lib/java/bin/java.

View 1 Replies View Related

Fedora :: Setting Environment Variable Using Export JAVA_HOME=/usr/java/jdk1?

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

Fedora :: Command To Find Java_Home Of OpenJDK When Installed With Yum?

May 3, 2011

I installed openjdk version of Java using yum what is the openjdk Home directory?
Is there a command to find it?

View 10 Replies View Related

General :: Setting An Executable To Be In Another's Path?

Dec 6, 2010

I have program (command line) that requires another program be installed and in its path. So I downloaded the file (.tgz), and extracted. I followed the compile and make instructions and ended up with a folder on my desktop that contains the excutable but is not in the path of the the other program. How can I do this..I think that I have about 20 more .tgz files to do this with.

View 2 Replies View Related

General :: Setting PATH Variable For New Users?

Jan 30, 2010

What steps have to be followed for having customized contents of PATH environment variable whenever new users are created? I require this in order to include a special directory into PATH variable; and this has to be a default one for all the newly created users.

View 3 Replies View Related

General :: Setting PATH Variable To Bin Directory In Ubuntu

Feb 18, 2011

I installed java in my pc by running the following on the shell
./jdk-6u24-linux-i586.
I need to set the path to the bin directory and also a new environmental variable JAVA_HOME.

View 2 Replies View Related

General :: Executing Shell Script - Setting Permissions And Providing Path

Jan 4, 2011

I've been looking around the net for executing a shell script. My basic understanding is that after setting executable permissions and providing a path (#!/bin/sh) in the first line of the script, I can type ./myscript to execute instead of sh myscript. This is not working for me. I can run "sh myscript" but not "./myscript" even though I know for sure I have across the board execute permission and my sh path is correct. I'm working on a redhat linux station.

View 6 Replies View Related

General :: Locate The Path For MySQL Installed Through LAMP?

Feb 23, 2011

I am trying to locate the path for MySQL installed trough LAMP. if someone could point it for me or how to locate this path.

View 1 Replies View Related

General :: Installed Qt Libs - Set Environmental Variable PATH

Sep 5, 2010

I have bash. I installed Qt libs and want to set environmental variable PATH, I tried some stuff from qt tutorials..

Here is what i tried:

Code:

and it does nothing so i tried

Code:

then checked path

Code:

Now there are two issues
1) the make gives error that header not found( probably make don't have the path)

2) when i closed the terminal and opened it again the PATH I newly entered was not there !

View 3 Replies View Related

General :: Command To Get Source ( Full HTTP/FTP ) Path Of 'Installed' RPMs?

Jul 17, 2010

Is there a command to know " From where a specific RPM package was downloaded & installed ( The full HTTP/FTP path ) " ? For example, if I had previously installed Firefox from here [URL] is there a specific rpm query, or any other place, from where I can get the full ftp path back.

View 1 Replies View Related

General :: Set A Default Setting For The Terminal?

Oct 21, 2009

Is it possible to set a default setting for the terminal? When I open one up it is very small and I press the ctrl++ several times to get it so that I can read it?

View 2 Replies View Related

General :: Setting Default Font In Emacs 23.2.1?

Apr 2, 2011

I'm using emacs 23.2.1 with quack on Linux and trying to set my default typeface to Inconsolata Medium 13. It is installed on my system (debian sid) and can be set manually per buffer in emacs. However, I would like it to be used throughout and by default. My suspicion is that quack's mode is somehow conflicting.

I've searched a good deal looking for information on font customization in emacs. Although there is documentation and examples out there, I've found them fairly incoherent when taken together and nothing specifically addressing this issue. Here is my .emacs

set-default-font "Inconsolata-13")
Turn on visible-bell, get rid of beeps
setq visible-bell t)
Hilight the selected region
setq transient-mark-mode t)

[Code]...

View 2 Replies View Related

General :: Default Password Setting In Cobbler

Oct 12, 2010

I cant understand how to sort out from this problem, while check the cobbler boot server, from the command cobbler check follwing error comes out , i dont understand how to fix it

1 : The default password used by the sample templates for newly installed machines (default_password_crypted in /etc/cobbler/settings) is still set to 'cobbler' and should be changed, try: "openssl passwd -1 -salt 'random-phrase-here' 'your-password-here'" to generate new one Restart cobblerd and then run 'cobbler sync' to apply changes.

View 1 Replies View Related

Ubuntu Installation :: Adjust The Default Setting Via /etc/default/grub?

May 29, 2010

I have already had Vista installed on another drive and from what i've read on the webs you get to dualboot if you install ubuntu after vista. when i did install it (i installed on a blank hdd with no partitions, choosing the "erase entire disk" option since for some reason default option was attempting to eat a part of my windows 1 gb drive instead of using disk i specially made for it) and the grub 2 loaded for the first time, there was NO option to run vista. only 2 linux (normal and recovery) and 2 memtests. I've ran linux and went to google this. I found that i should add something to some config files in /etc/grub.d/From reading the readme file i understood i could add my own files that are named like NUMBER_SOMENAME and insert code into them. Because it said:Quote: For example, you can add an entry to boot another OS as01_otheros, 11_otheros, etc, depending on the position you want it to occupy inthe menu; and then adjust the default setting via /etc/default/grub. But then i found a file 40_custom that said:

Code:
#!/bin/sh
exec tail -n +3 $0

[code]....

View 9 Replies View Related

General :: Where Exactly Is JAVA_HOME?

Jul 28, 2010

Tomcat installation requires JAVA_HOME to be defined. In Windows it is straight forward. But in Linux binaries are in one folder and libraries are in other folder.

Is there a way to find out where exactly is JAVA_HOME?

View 4 Replies View Related

General :: Setting Default Application For Text Files In Bash?

Apr 5, 2011

I want to tweak my linux environment so that when I type a text file name on the command line and hit enter the file should be opened in Vim.

$: /tmp/file.txt

should open the file in Vim. This is similar to what happens on windows (where a text file is opened in notepad.)

View 6 Replies View Related

General :: Difference Between PATH=$PATH:$1 & PATH=$1:$PATH?

Jan 16, 2011

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

View 14 Replies View Related

General :: Add More Widgets Then What Is Currently Installed As Default?

Jun 18, 2011

I have Kubuntu 11.04 with KDE 4.6.4. Under Settings--->System Settings--->Application Appearances--->Style. In the Style area there is Widget style the default is Oxygen. Is there any way to add more choices to this?

I was wondering if there was away if at all to add more widgets then what is currently installed as default?

View 1 Replies View Related

Software :: Setting Up An App So It's In The Path?

Sep 29, 2010

I have an app (a game, actually) that's sitting in a subdirectory in my /home/user and I was wondering how I could set it up so that I could run it directly without having to go into its directory. (ie: putting it in the path)

View 6 Replies View Related

Software :: Setting Up An App So It's In The Path

Dec 23, 2010

I have an app (a game, actually) that's sitting in a subdirectory in my /home/user and I was wondering how I could set it up so that I could run it directly without having to go into its directory. (ie: putting it in the path)

View 2 Replies View Related

General :: How To Set JAVA_HOME Properly

Jan 10, 2009

I have problems with setting my JAVA_HOME variable. I am using Slackware 12.0, bash shell. I have set JAVA_HOME in my /etc/profile, like this:

But when I login in with my user name and type env on the command line, I get for JAVA_HOME the following:

Also, in my /etc/profile I have put the path to my java in the PATH variable, like this:

And when I type env when I login, then the PATH variable contains correctly the path to the jdk (as I have put it into /etc/profile).

I expect that after I have set everything as I want in /etc/profile, and restart the computer then what I have set will be relevant and when I login and type env, I will get values to the variables equal to those I have set in /etc/profile. Why it does not happen?

I have particularly a problem with a Java application, which I want to run. When I type ant, I get: error: JAVA_HOME is not defined correctly.

We cannot execute /usr/lib/java/bin/java.

View 1 Replies View Related

General :: Set Up The JAVA_HOME Environment?

May 13, 2010

I tried to install the nutchwax and hadoop as a prequisite for the wera.

Problem:

localhost:

Error: JAVA_HOME is not set.

source code:

View 2 Replies View Related

General :: Default Partition Would Be Created, When OS To Be Installed?

Nov 7, 2010

How many default partition would be created, when Linux OS to be installed?

View 14 Replies View Related

General :: Restore Default Setting Of Desktop Of Ubuntu 11.04 Natty Narhwal Unity

Jul 22, 2011

i have lost my setting of unity desktop and launcher is not seen on desk top as well as search barwhich use to come on pressing of meta window key.

how to restore launcher and search bar setting or u may say default unity setting

View 1 Replies View Related

General :: Uninstall Berkeley DB Which Is Installed By Default During Installation?

May 8, 2011

I am using cent os 5 .I want to uninstall Berkeley DB which is installed by default during installation. how can I uninstall Berkeley DB from my Linux machine.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved