|
From: Dale A. <da...@gr...> - 2009-06-25 15:24:41
|
Instead of this command: js@hh:~$ /usr/bin/java jedit/4.3pre14/jedit.jar try this command: /usr/bin/java -jar jedit/4.3pre14/jedit.jar Notice the -jar parameter. For installation of jEdit, I don't use the Ubuntu distribution since it tends to be a version or two out of date. Instead, I download the java installer from http://www.jedit.org/index.php?page=download and install it somewhere in my home directory, like you've done with 4.3pre14. Starting is the same as above, although I usually use the -reuseview parameter: java -jar path/to/jedit.jar -reuseview Hope this helps, Dale On Thu, Jun 25, 2009 at 9:15 AM, Johnny<oo...@ya...> wrote: > > Please help me get jedit started again on Ubuntu 8.04. > Here is a copy of my problems. I have downloaded > 4.3pre16...deb to my home / jedit > which java is at /usr/bin/java and that with -h gives help. > Below is what I tried to do by following the instructions > at the jedit site. > js@hh:~$ which jedit > js@hh:~$ which java > /usr/bin/java > js@hh:~$ cd /media/hda9/56/programming/ide/jEdit/ > bash: cd: /media/hda9/56/programming/ide/jEdit/: No such file or directory > js@hh:~$ find /media/hda9/56/programming/ide -iname "*jedit*" > find: /media/hda9/56/programming/ide: No such file or directory > js@hh:~$ find /media/hda9/56/programming -iname "*jedit*" > /media/hda9/56/programming/scala/install/271/scala-2.7.1.final/misc/scala-tool-support/jedit > js@hh:~$ sudo find / -iname "*jedit*" > [sudo] password for js: > /usr/local/scala-2.7.3.final/misc/scala-tool-support/jedit > /usr/local/bin/jdk1.6.0_07/demo/jfc/SwingSet2/src/resources/images/toolbar/JEditorPane.gif > /usr/local/bin/jdk1.6.0_07/demo/plugin/jfc/SwingSet2/src/resources/images/toolbar/JEditorPane.gif > /usr/share/app-install/icons/jedit.png > /usr/share/app-install/desktop/jedit.desktop > /usr/share/icons/HighContrastLargePrintInverse/48x48/apps/jEdit.png > /home/js/jedit > /home/js/jedit/4.3pre14/jedit.jar > /home/js/jedit/4.3pre14/doc/jedit.png > /home/js/jedit/4.3pre14/doc/users-guide/using-jedit-part.html > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/jEdit.JEditPropertyManager.html > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/jEdit.html > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/JEditActionContext.html > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/buffer/JEditBuffer.PropValue.html > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/buffer/class-use/JEditBuffer.PropValue.html > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/buffer/class-use/JEditBuffer.html > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/buffer/JEditBuffer.html > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/visitors/JEditVisitor.html > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/visitors/JEditVisitorAdapter.html > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/visitors/class-use/JEditVisitor.html > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/visitors/class-use/JEditVisitorAdapter.html > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/gui/JEditHistoryModelSaver.html > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/gui/class-use/JEditHistoryModelSaver.html > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/JEditBeanShellAction.html > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/textarea/JEditTextArea.html > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/textarea/class-use/JEditTextArea.html > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/JEditAbstractEditAction.html > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/proto/jeditresource > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/class-use/jEdit.JEditPropertyManager.html > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/class-use/jEdit.html > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/class-use/JEditActionContext.html > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/class-use/JEditBeanShellAction.html > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/class-use/JEditAbstractEditAction.html > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/class-use/JEditActionSet.html > /home/js/jedit/4.3pre14/doc/api/org/gjt/sp/jedit/JEditActionSet.html > /home/js/jedit/4.3pre14/doc/news43/buffervsjeditbuffer.html > /home/js/jedit/4.3pre14/macros/Properties/jEdit_Properties.bsh > /home/js/.jedit > /home/js/man/man1/jedit.1 > find: /home/js/.gvfs: Permission denied > /home/js/.netbeans/6.5beta/scala/scala-2.7.1.final/misc/scala-tool-support/jedit > /media/hda9/56/programming/scala/install/271/scala-2.7.1.final/misc/scala-tool-support/jedit > js@hh:~$ jedit > The program 'jedit' is currently not installed. You can install it by typing: > sudo apt-get install jedit > bash: jedit: command not found > js@hh:~$ apt-get source jedit > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: Could not open file /var/lib/apt/lists/dl.sourceforge.net_sourceforge_jedit_._Sources - open (2 No such file or directory) > js@hh:~$ jedit > The program 'jedit' is currently not installed. You can install it by typing: > sudo apt-get install jedit > bash: jedit: command not found > js@hh:~$ ./jedit > bash: ./jedit: is a directory > js@hh:~$ ls -l ./jedit > total 4 > drwxr-xr-x 8 js js 4096 2008-07-25 21:07 4.3pre14 > js@hh:~$ apt-get update > E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied) > E: Unable to lock the list directory > js@hh:~$ sudo apt-get update > [sudo] password for js: > Hit http://security.ubuntu.com hardy-security Release.gpg > Ign http://security.ubuntu.com hardy-security/main Translation-en_US > Ign http://security.ubuntu.com hardy-security/restricted Translation-en_US > Ign http://security.ubuntu.com hardy-security/universe Translation-en_US > Ign http://security.ubuntu.com hardy-security/multiverse Translation-en_US > Hit http://security.ubuntu.com hardy-security Release > Hit http://us.archive.ubuntu.com hardy Release.gpg > Ign http://us.archive.ubuntu.com hardy/main Translation-en_US > Ign http://dl.sourceforge.net ./ Release.gpg > Hit http://security.ubuntu.com hardy-security/main Packages > Ign http://us.archive.ubuntu.com hardy/restricted Translation-en_US > Ign http://us.archive.ubuntu.com hardy/universe Translation-en_US > Ign http://us.archive.ubuntu.com hardy/multiverse Translation-en_US > Get:1 http://us.archive.ubuntu.com hardy-updates Release.gpg [189B] > Ign http://us.archive.ubuntu.com hardy-updates/main Translation-en_US > Ign http://us.archive.ubuntu.com hardy-updates/restricted Translation-en_US > Ign http://us.archive.ubuntu.com hardy-updates/universe Translation-en_US > Ign http://us.archive.ubuntu.com hardy-updates/multiverse Translation-en_US > Hit http://us.archive.ubuntu.com hardy Release > Ign http://dl.sourceforge.net ./ Translation-en_US > Hit http://security.ubuntu.com hardy-security/restricted Packages > Hit http://security.ubuntu.com hardy-security/main Sources > Hit http://security.ubuntu.com hardy-security/restricted Sources > Get:2 http://us.archive.ubuntu.com hardy-updates Release [58.5kB] > Hit http://security.ubuntu.com hardy-security/universe Packages > Hit http://security.ubuntu.com hardy-security/universe Sources > Hit http://security.ubuntu.com hardy-security/multiverse Packages > Hit http://security.ubuntu.com hardy-security/multiverse Sources > Ign http://dl.sourceforge.net ./ Release > Hit http://us.archive.ubuntu.com hardy/main Packages > Hit http://us.archive.ubuntu.com hardy/restricted Packages > Hit http://us.archive.ubuntu.com hardy/main Sources > Hit http://us.archive.ubuntu.com hardy/restricted Sources > Hit http://us.archive.ubuntu.com hardy/universe Packages > Hit http://us.archive.ubuntu.com hardy/universe Sources > Hit http://us.archive.ubuntu.com hardy/multiverse Packages > Hit http://us.archive.ubuntu.com hardy/multiverse Sources > Ign http://dl.sourceforge.net ./ Packages > Get:3 http://us.archive.ubuntu.com hardy-updates/main Packages [444kB] > Ign http://dl.sourceforge.net ./ Sources > Err http://dl.sourceforge.net ./ Packages > 302 Found [IP: 213.203.218.122 80] > Get:4 http://us.archive.ubuntu.com hardy-updates/restricted Packages [8437B] > Get:5 http://us.archive.ubuntu.com hardy-updates/main Sources [114kB] > Get:6 http://us.archive.ubuntu.com hardy-updates/restricted Sources [901B] > Get:7 http://us.archive.ubuntu.com hardy-updates/universe Packages [201kB] > Err http://dl.sourceforge.net ./ Sources > 302 Found [IP: 213.203.218.122 80] > Get:8 http://us.archive.ubuntu.com hardy-updates/universe Sources [42.8kB] > Get:9 http://us.archive.ubuntu.com hardy-updates/multiverse Packages [29.1kB] > Get:10 http://us.archive.ubuntu.com hardy-updates/multiverse Sources [5538B] > Fetched 904kB in 26s (34.5kB/s) > W: Failed to fetch http://dl.sourceforge.net/sourceforge/jedit/./Packages.gz 302 Found [IP: 213.203.218.122 80] > > W: Failed to fetch http://dl.sourceforge.net/sourceforge/jedit/./Sources.gz 302 Found [IP: 213.203.218.122 80] > > E: Some index files failed to download, they have been ignored, or old ones used instead. > js@hh:~$ sudo apt-get install jedit > Reading package lists... Done > Building dependency tree > Reading state information... Done > The following packages were automatically installed and are no longer required: > libswfdec-0.6-90 > Use 'apt-get autoremove' to remove them. > The following NEW packages will be installed: > jedit > 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. > Need to get 2085kB of archives. > After this operation, 8499kB of additional disk space will be used. > Get:1 http://us.archive.ubuntu.com hardy/universe jedit 4.3~pre13.dfsg-0ubuntu2 [2085kB] > Fetched 2085kB in 49s (42.4kB/s) > Selecting previously deselected package jedit. > (Reading database ... 230717 files and directories currently installed.) > Unpacking jedit (from .../jedit_4.3~pre13.dfsg-0ubuntu2_all.deb) ... > Setting up jedit (4.3~pre13.dfsg-0ubuntu2) ... > > js@hh:~$ jedit > exec: 28: /usr/local/bin/jdk1.6.0_07/bin/bin/java: not found > js@hh:~$ which jedit > /usr/bin/jedit > js@hh:~$ java jedit > Exception in thread "main" java.lang.NoClassDefFoundError: jedit > Caused by: java.lang.ClassNotFoundException: jedit > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) > js@hh:~$ which java > /usr/bin/java > js@hh:~$ > js@hh:~$ sudo find / -iname "*jedit*instal*" > find: /home/js/.gvfs: Permission denied > js@hh:~$ > js@hh:~$ /usr/bin/java ./jedit/4.3pre14/jedit.jar > Exception in thread "main" java.lang.NoClassDefFoundError: //jedit/4/3pre14/jedit/jar > Caused by: java.lang.ClassNotFoundException: ..jedit.4.3pre14.jedit.jar > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) > js@hh:~$ /usr/bin/java jedit/4.3pre14/jedit.jar > Exception in thread "main" java.lang.NoClassDefFoundError: jedit/4/3pre14/jedit/jar > Caused by: java.lang.ClassNotFoundException: jedit.4.3pre14.jedit.jar > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) > js@hh:~$ > > Thanks, > Johnny > > OOUC=One Objective Unity Commitment. We all have gifts and limitations. I am using my gifts to help others overcome limitations. Will you do the same for me? Jn 17 the great vision of our Creator and His plea for One Objective only possible via a Unity Commitment. > > ------------------------------------------------------------------------------ > -- > ----------------------------------------------- > jEdit Users' List > jEd...@li... > https://lists.sourceforge.net/lists/listinfo/jedit-users > |