0
votes
1answer
39 views

Java command only working in command line not in sh files

I have recently attempted to install java on ubuntu server 12.04 LTS. I wgetted the tar.gz file and extracted it to /opt/java and then added /opt/java/bin to the path variable. This all works ...
0
votes
0answers
37 views

Removal of old version of java and install new java version

I have removed the older version of java installed (JDK 1.5) and have installed java 7. Now It shows both JDK versions in $PATH. I want to remove all installed java files and want to install new java ...
0
votes
0answers
76 views

How to use image source from tmp folder of ubuntu

I have a jsp web application running on Ubuntu apache server. I take screen shot of different picture and save those in tmp folder of the server. Now I need to show this picture in my web application. ...
3
votes
1answer
1k views

symbolic link to /usr/local/bin not running the program unless logged in as su

I'm trying to get eclipse 3.8 installed on Ubuntu 10.04. I've put the extracted files on: /opt I put a symbolic link in: /usr/local/bin ls -s /usr/local/bin: eclipse -> /opt/eclipse/eclipse ...
0
votes
0answers
182 views

Where is my PATH env. var being redefined?

Since a couple of days ago my Ubuntu 12.04 installation is presenting some strange behavior, due to auto update probably, as I've not messing with any config: 1 - The system default encoding changed ...
1
vote
1answer
504 views

Copying files, Windows 260 character path length limit, can a Linux system bypass this?

As many of us may know, windows has a limit to how many characters can be in the destination of where you can paste a file this is destination folder+file name, 255 xp, 256 vista, 260 seven and up. ...
0
votes
1answer
628 views

command not found even though directory is in $PATH [closed]

I'm having trouble running a program which should be on my $path, but apparently isn't. When I run it with the full path, it works fine, but when I only call the executable, it says command not found. ...
1
vote
1answer
88 views

When I login on a ubuntu server via ssh for my mac, I get the wrong PATH setting on the linux account

I have an ubuntu server, with a rails application. When I access directly that server, I have no problem with the setting of the path for my rails commands, but when I log trough ssh for my iMac, I ...
0
votes
2answers
921 views

How to get the Three.js import/export scripts into Blender on Ubuntu?

I have been working with 3D primitives in Three.js, but now I want to import some models. I plan on using Blender, which I have just downloaded with: sudo apt-get install blender However, I was ...
1
vote
1answer
1k views

Changing Java from OpenJDK to SunJava

I want to change OpenJDK to SunJava in my ubuntu linux desktop , i have downloaded the "jdk-7.tar.gz" from sun's website, but there problem is how to make the system to use the newly downloaded java ? ...
0
votes
1answer
121 views

Ubuntu 11.10 starts in a strange mode

I removed Maven2 from my computer and tried installing Maven3. While doing this I added a few things to the /etc/environment file, as instructed by the Maven guys. Anyway, after a few successful ...
0
votes
1answer
260 views

Ubuntu 10.04.2 - PATH not working in desktop environment, working in terminals

I need to add a directory entry to PATH env. var. I added at the end of both of my ~/.bashrc and ~/.bash_profile the line export PATH=$PATH:/home/user/apps/.... The change is working for terminal ...
1
vote
1answer
270 views

How to append to the path in ubuntu?

I have a file at "/downloads/some.file", and I want that added to my path. How is this accomplished in ubuntu?
13
votes
3answers
43k views

How to globally modify the default PYTHONPATH (sys.path)?

On a Ubuntu (10.10) system, I have a Python package that installs itself into /usr/local/lib/python2.6/site-packages/. This isn't contained in the default path (sys.path). How do I add this directory ...
0
votes
2answers
5k views

Setting JAVA_HOME on Ubuntu 10.x

I'm trying to get the Rhodes framework installed so I can develop Android apps. This requires that I install the SUN JDK and add JAVA_HOME and JAVA_HOME/bin to path. I thought I could solve this by ...
4
votes
2answers
3k views

Where has the Ubuntu software centre installed boost to?

I've used the ubuntu software centre to install libboost1.40-dev. But I've not got a clue as to where it's been put. I'm not great with *nix, so I'm not sure where it would go normally, and there seem ...
3
votes
1answer
712 views

Problems with bash path when using 'su'

In Ubuntu Lucid Lynx, I'm trying to do su -l user -c "foo.sh args" where foo.sh is an executable bash script on the PATH set in ~user/.bashrc. Unfortunately, this fails because it can't find ...
3
votes
4answers
252 views

Why is it bad to add '.' to PATH?

I've read one explanation saying it can allow malicious executables that are in the cwd to run in place of similarly named built-ins and core utilities. For something to wreak true havoc, wouldn't ...
3
votes
1answer
4k views

/etc/environment not being read into PATH variable

In Ubuntu the path variable is stored in /etc/environment. This is mine (I've made no changes to it, this is the system default): $ cat /etc/environment ...
1
vote
2answers
351 views

PATH variable recently changed

$ loopy Command 'loopy' is available in '/usr/games/loopy' The command could not be located because '/usr/games' is not included in the PATH environment variable. loopy: command not found Every ...
6
votes
1answer
2k views

Underscore being appended to mounted disk name after Ubuntu upgrade

I have Upgraded Ubuntu from version 9.10 to 10.04. Now when I mount any of my extra hard disks the drive name gets an underscore appended to it, as shown below. Which obviously messes up all my pahts. ...
2
votes
2answers
766 views

Changing the Ubuntu PATH doesn't work for me

I installed a few Ruby gems on a new install of Ubuntu 9.10, and after a few tries at running one, I realized that they failed because the PATH value did not contain their locations. SO I used the ...