Skip to main content

"Getting Started" -- Update

7 replies [Last post]
Anonymous

I've started this new post as the prelude to updating the "Getting Started" sections on the site in order to get together a list of minor changes that are required to make things that wee bit 'smoother' for all when it comes to the environment setup.

All additions gratefully recieved. :-)

Regards

Phil

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Anonymous

One of the first things for addition is to add extra info regarding the export command for the JAVA_HOME and PATH variables, and which config file to use.

~/.bashrc does not work at all for me.

I use ~/.profile, meaning all values are loaded at system startup.

System :- JDS,R2

Phil

Anonymous

After helping a fellow member yesterday....

It would seem that using the most up_to_date version of Java 1.5 puts all it's files into the directory /usr/java/jdk1.5.0_01 (Previously /usr/java/jdk1.5.0)

Please be aware and check your versions. If you have the latest Java download, please make sure that your $JAVA_HOME element points to the correct directory name.

System :- All

Phil

dwarfy_lenain
Offline
Joined: 2006-02-17
Points: 0

Hi !
I think it is a good idea to update this document !

first about ~/.bashrc it works fine on my system (mandrake 10)

about the java 1.5 dir (/usr/java/jdk1.5.0_01) I had the same problem helping a friend of me to install lg3d ... so that should be updated in the guide

another thing is that we could maybe mention that xorg doesn't support 'keyboard' as the keyboard driver but 'kbd' instead ... ??

and maybe too but that's not directly related to this we could mention in the developpers guide that the cvs command for getting the latest version is cvs -d :pserver:username@cvs.dev.java.net:/cvs -r LASTVERSION checkout lg3d-blablabla ???

because I had some troubles with this as doing an update with the -r LASTVERSION option after a checkout without the -r option corrupted the thing and I had to erase everything and do a new checkout with the -r option in order to get it working ...

well here is my 2 cents
dwarfy

Anonymous

Hi Dwarfy...

I think the difference between .bashrc and .profile is that the .bashrc loads every time a terminal window is opened, whereas .profile loads at login.

Maybe others could add their configs to this list too?

Thanks for your additions. There are some good tips there.:-)

Phil

dwarfy_lenain
Offline
Joined: 2006-02-17
Points: 0

I don't think that .bashrc is loaded only when a terminal window is loaded but for every instance of bash ? I mean It can be on a console without the X server running ...
and as I am not starting my system by default in the X server but in console mode that's why it works for me ...

but it's better in the .profile file, I will set it there ...

dwarfy

paulby
Offline
Joined: 2003-06-13
Points: 0

Let's update the startup scripts as well to automatically check for jdk1.5.0_* and jdk1.5.0.

Any volunteers ?

dwarfy_lenain
Offline
Joined: 2006-02-17
Points: 0

Hi !
sorry but I'm (really) not good for console scripts ..

dwarfy