Portable Netbeans
I got a new USB stick today and decided to make a good IDE-on-the-go out of it. I installed XAMPP, my favorite text editor, FTP manager and than I came across my favorite IDE for python development – Netbeans… After about 3 hours of fighting with it I did actually make it portable
So what you need to do to make Netbeans portable:
- First, copy already installed Netbeans to your USB stick. ( I recommend choosing a zipped version from here then simply unpack it)
- Now there are 2 possible ways: editing a configuration file and applying commands to a shortcut. I’ll describe both:
- 1st: find file netbeans.conf in directory etc\ inside a directory with Netbeans. Now line
netbeans_default_userdir="${HOME}/.netbeans/6.5"replace with
netbeans_default_userdir=".\YOUR_USER_FOLDER"where YOUR_USER_FOLDER is a folder with different configs. It must not be in the same directory that your Netbeans is (it was my mistake).
Now find line with something like
netbeans_jdkhome="/path/to/jdk"it defines path to a place where JDK is installed in your stick. Replace it with something like
netbeans_jdkhome=".\JDK\"don’t forget to replace JDK with a valid for you path
- 2nd: if you are using PStart or something similar to that make a shortcut for netbeans.exe and add commands:
--jdkhome "%pdrive%\PATH_TO_JDK" --userdir "%pdrive%\PATH_TOU_USERDIR"
where PATH_TO_JDK is a directory with JDK on your flash USB and PATH_TOU_USERDIR is your user directory. Again it must not be in the same directory that your Netbeans is.
- 1st: find file netbeans.conf in directory etc\ inside a directory with Netbeans. Now line
And that’s it! Happy coding
New plugins in opensearch
I published several new and updated some of my old opensearch plugins:
- Google Book Search
- Google Code Search
- Waz-warez.org – warez forum concentrated on movies
- OVGuide.com – video search engine, very handy
- updated warez-bb.org searching add-on: fixes some grammar
- and added 2 plugins that search sites with adult content… ( I’d been asked by one friend of mine to do them. I hope they will become useful…)
Plus I uploaded all my stuff to mycroft.mozdev.org
Update
I’ve updated the site. Optimized code a little bit and it is more editable, added several goodies from CSS3: shadow for a main div and it’s now possible to resize it! Unfortunately it works only in Safari now.
Shadow:
1 | -webkit-box-shadow: 3px 5px 10px #CCBA99; |
Resize:
1 2 3 | resize: both; max-width:1200px; overflow: auto; |
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.
