Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Java
Development setup under Ubuntu
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Martin Gregorie, post: 3017349"] Assuming that the bash structures in Ubuntu are the same as for Fedora, a better place to put Java-related stuff is in a "java.sh" file in /etc/profile.d - /etc/profile will automatically find and run it. Secondly, remember to make a copy of the file somewhere in a user directory - otherwise it will be nuked next time you do a clean install because that wipes and recreates the /etc filing structure. I do the following to make reinstalls more painless: - /home is a separate partition so it will survive a reinstall without damage. All other partitions can be reformatted without losing anything vital. - I moved the entire /usr/local hierarchy to /home/local and replaced /usr/local with a symlink to /home/local. This means I recover local stuff after a reinstall by removing the new local structure (which is empty) and recreating the symlink. - I've done the same with the Java installation (/usr/java is a symlink to /home/java. - all files I've manually changed in /etc and /var are copied to an equivalent structure in mt development user so they'll survive a reinstall. - the /etc and /var backups are under cvs version control for added safety. The CVS repository is in /home/cvs I do essentially the same, but I back up /home to a portable USB drive with rsync. This keeps a copy of my entire filing system in sync with the original. rsync is fast: doing same backup with tar to produce a compressed archive on a USB disk takes 50 mins. rsync does effectively the same job in under 15. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Java
Development setup under Ubuntu
Top