Forum     

Go Back   Digit Technology Discussion Forum > Software > Software Q&A
Register FAQ Calendar Mark Forums Read

Software Q&A Having trouble with software? Find solutions here


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 28-11-2008, 08:43 PM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Nov 2008
Posts: 2
Exclamation please help:javasdk installation on linux


thiis is my first post here....
i need help in installing javasdk on my linux opensuse 8.0
i have the bin file, followed instructions on the net and installed in /usr/java directory.
now comes the problem of setting the environment variables::
wen i set d environment variables it runs perfectly n java compiler is detected, but on restarting the gnome terminal it again gives the error:
javac:command not found.
wat is to be done in order to not to set the environment variables again n again before compiling a .java file.
if someone has successfully installed javasdk on a linux system, please be kind enuf to tell the procedure in little bit of detail...
thanking in anticipation:::
sidsikka is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 28-11-2008, 09:21 PM   #2 (permalink)
Wahahaha~!
 
Faun's Avatar
 
Join Date: Dec 2006
Location: Pune/there
Posts: 7,680
Default Re: please help:javasdk installation on linux

Best thing is to install any java based software, it will set environment automatically.

Download vuze or netbeans or zoomr or eclipse and run it, it will set it up automatically.

Second option is to add export in .bashrc
__________________
Blog | Flickr | Battlelog
Spoiler:
Asus Z68 V-Pro|i5 2500k|TRUE Black|Ripjaws X|U2311H|N560GTX|D7000|XONAR STX|RE272|RE0|CC51|XE200PRO Walnut| TD II V2| Ultraphile|N5800

Mono
Faun is offline  
Old 29-11-2008, 10:10 AM   #3 (permalink)
Right Off the Assembly Line
 
damked's Avatar
 
Join Date: Sep 2008
Posts: 31
Lightbulb Re: please help:javasdk installation on linux

Add your environment variables to file .bash_profile which resides in your home directory.
You may have to create it if it is not already present. Add following line to it:
export PATH=$PATH:/usr/java/jdkx.x.x_xx/bin
(jdkx.x.x_xx may change according to your settings)
When you start gnome terminal or any other like kterm or rxvt, .bash_profile file will be read and you don't have to set the path each time.

If you want to set the path for all users, add the line to /etc/profile file (as root)
damked is offline  
Old 30-11-2008, 10:56 PM   #4 (permalink)
Right Off the Assembly Line
 
Join Date: Nov 2008
Posts: 2
Default Re: please help:javasdk installation on linux

thanks damked
its done....
sidsikka is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Installation ABHISEK KUMAR ROUT Software Q&A 3 17-12-2007 03:23 AM
Help regarding Linux installation ::vicky:: Open Source 20 05-12-2006 10:03 PM
help on linux installation! gvrappu Open Source 3 30-08-2006 06:36 PM
linux installation abhi_10_20 Software Q&A 3 24-08-2006 02:07 AM
Linux Installation sabu_J_vallom Open Source 3 17-08-2005 05:37 PM

 
Latest Threads
- by abhidev
- by clmlbx
- by Sarath
- by ico

Advertisement




All times are GMT +5.5. The time now is 03:06 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2