The easiest way to install JEdit on my Kubuntu is to use apt, like so:
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
ca-certificates-java icedtea-6-jre-cacao java-common libaccess-bridge-java libaccess-bridge-java-jni openjdk-6-jre
openjdk-6-jre-headless openjdk-6-jre-lib tzdata tzdata-java
default-jre equivs icedtea6-plugin sun-java6-fonts ttf-sazanami-gothic ttf-kochi-gothic ttf-sazanami-mincho
ttf-kochi-mincho ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fonts ttf-bengali-fonts
The following NEW packages will be installed:
ca-certificates-java icedtea-6-jre-cacao java-common jedit libaccess-bridge-java libaccess-bridge-java-jni
openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib tzdata-java
The following packages will be upgraded:
1 upgraded, 10 newly installed, 0 to remove and 313 not upgraded.
Need to get 37.8MB of archives.
After this operation, 122MB of additional disk space will be used.
Do you want to continue [Y/n]? n
But it installs a lot of dependencies and maybe a Java edition you don’t want.Â Since I install Java manually I’ll show you how to install JEdit with a custom Java install.
-Go to jEdit’s download page http://jedit.org/index.php?page=download
-Click the “Java-based installer” it will download a jar, then run it:
-A nice GUI will popup, it’s default values are pretty good, but you can change it to install it wherever you like.
-Note the handy command line commands!
-Now that might not be enough, you have to make sure your PATH variable can resolve the ‘jedit’ you just installed.Â I had to do the following:
#That’s assuming your executable is in your ~/bin directory.
operationlinux@greeny:~$ . ~/.bashrc
Now “jedit” will work from anywhere on my system.
Next I’ll show you how to make a nice GUI icon you can click.