windows file associations
Submitted by Anonymous on Tuesday, 10 May, 2005 - 23:19
How do the windows file associations get set for jedit? I don't want jedit to open my .dsw files.
JEdit hangs after splash screen Mac Os X 10.3.9
Submitted by Anonymous on Saturday, 7 May, 2005 - 23:07
Hi,
I'm trying to run jEtid on my Mac however it does not work. I've tried to install Security Update for Javaj 2005-02 but it did not work neither. Haven't anybody experienced the same problem?
Fedora Core 3 with jEdit work great: here is how
Submitted by Anonymous on Monday, 18 April, 2005 - 13:14
I posted this message as a reply to a different subject, and I heard that some people were having problems finding it so here it is:
I have never had a problem with jEdit and Fedora Core 3, any other Java app, or any Linux distro + Java for that matter. And you won't either.
Just unpack the JDK into whatever directory you feel like it.
For this example I am gonna say that I decided to unpack the JDK under /home/java. And no, I did not use the rpm. Just go to http://java.sun.com/j2se/1.5.0/index.jsp (pay a visit to http://www.java.com/en/ to see some cool java stuff) and get the .bin file, chmod to 755, run and unpack. Then copy to wherever place you want. Get the JDK not the JRE. It's bigger, meaner and better (who knows, someday you may want to cook that Java app that will get Microsith out of business --if the mighty Linux does not do that first, of course).
Make sure that your ~/.bash_profile has a line like:
PATH=$HOME/bin:$PATH
and not
PATH=$PATH:$HOME/bin
It wouldn't hurt to add another line like:
JAVA_HOME=/home/java
You should also have a line below like:
export PATH JAVA_HOME
note that there is a space between PATH and JAVA_HOME
save your ~/.bash_profile and create a directory bin under your home directory:
mkdir ~/bin
if it does not exist.
cd into ~/bin and create a soft link:
ln -s /home/java/bin/java java
that points to the bin/java inside your Java directory;
you may need to do:
source ~/.bash_profile
or even log out and log back in for the changes to take place. Anyhow, you should be able to do:
java -version
and see something like:
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode)
or something similar depending on your JDK version.
now that you have the Java executable at your reach (shell-wise that is), you can run any Java programs.
If you are using Firefox, you may as well allow Firefox to execute applets/java programs; in that case pay at trip to:
cd ~/.mozilla/plugins and do:
ln -s /home/java/jre/plugin/i386/ns7/libjavaplugin_oji.so libjavaplugin_oji.so
Now you should be able to install jEdit. I am gonna assume that jEdit has been installed into /home/myhome/jedit.
Now go back to your ~/bin and create a file called jedit: vi jedit
The file should contain the following 4 lines:
#!/bin/sh
# Java heap size, in megabytes
JAVA_HEAP_SIZE=32
exec "java" -mx${JAVA_HEAP_SIZE}m ${JEDIT} -jar "/home/myhome/jedit/4.2/jedit.jar" $@
or:
#!/bin/sh
# Java heap size, in megabytes
JAVA_HEAP_SIZE=32
exec "$JAVA_HOME/bin/java" -mx${JAVA_HEAP_SIZE}m ${JEDIT} -jar "/home/myhome/jedit/4.2/jedit.jar" $@
should also work. Anyhow, save the file and make sure that it is executable: chmod 755 jedit
cd back to your home directory: cd ~/ and try: jedit &
and if you have lots of RAM memory, bump up that 32 to 64, 128 or whatever.
If you have had problems in jEdit complaining about the maximum memory allocated to Java, now you'll now how and where to solve that too (I did indeed have a memory shortage problem with extremely huge files).
Now you are done. Enjoy jEdit!!!
installing with FC4 x86_64
Submitted by Anonymous on Saturday, 16 April, 2005 - 22:57
Hey,
I'm not having any luck installing or compiling jEdit with FC4 Test 1 (3.90) on amd x86_64. I tried the development and stable versions, but both had the same errors. I also tried installing the packages from JPackage, but I got the same errors.
I'm using:
java version 1.4.2
gij (GNU libgcj) version 4.0.0 20050405 (Red Hat 4.0.0-0.40)
When launching, I get:
[me@localhost Desktop]# java -jar jedit42install.jar
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
at java.awt.Toolkit.getDefaultToolkit() (/usr/lib64/libgcj.so.6.0.0)
at java.awt.EventQueue.invokeLater(java.lang.Runnable) (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.SwingUtilities.invokeLater(java.lang.Runnable) (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.RepaintManager.addInvalidComponent(javax.swing.JComponent) (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JComponent.revalidate() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JComponent.setOpaque(boolean) (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JPanel.JPanel(java.awt.LayoutManager, boolean) (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JRootPane.createGlassPane() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JRootPane.getGlassPane() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JRootPane.JRootPane() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JFrame.createRootPane() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JFrame.getRootPane() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JFrame.frameInit() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JFrame.JFrame() (/usr/lib64/libgcj.so.6.0.0)
at installer.SwingInstall.SwingInstall() (Unknown Source)
at installer.Install.main(java.lang.String[]) (Unknown Source)
at .main (/usr/lib64/libgij.so.6.0.0)
at .__libc_start_main (/lib64/libc-2.3.4.so)
Caused by: java.lang.ClassNotFoundException: gnu.java.awt.peer.gtk.GtkToolkit not found in gnu.gcj.runtime.SystemClassLoader{urls= [file:jedit42install.jar], parent=gnu.gcj.runtime.VMClassLoader{urls=[core:/], parent=null}}
at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib64/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib64/libgcj.so.6.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib64/libgcj.so.6.0.0)
at java.awt.Toolkit.getDefaultToolkit() (/usr/lib64/libgcj.so.6.0.0)
...17 more
When compiling, I get several errors. Here are a few:
[javac] Compiling 3 source files to /home/justin/Desktop/jEdit
[javac] ----------
[javac] 1. WARNING in /home/justin/Desktop/jEdit/org/gjt/sp/jedit/help/HelpViewer.java
[javac] (at line 29)
[javac] import javax.swing.text.html.*;
[javac] ^^^^^^^^^^^^^^^^^^^^^
[javac] The import javax.swing.text.html is never used
[javac] ----------
[javac] ----------
[javac] 2. WARNING in /home/justin/Desktop/jEdit/org/gjt/sp/jedit/help/HelpViewer.java
[javac] (at line 47)
[javac] public class HelpViewer extends JFrame implements EBComponent
[javac] ^^^^^^^^^^
[javac] The serializable class HelpViewer does not declare a static final serialVersionUID field of type long
[javac] ----------
[javac] ----------
[javac] 3. ERROR in /home/justin/Desktop/jEdit/org/gjt/sp/jedit/help/HelpViewer.java
[javac] (at line 370)
[javac] if(evt instanceof HTMLFrameHyperlinkEvent)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^
[javac] HTMLFrameHyperlinkEvent cannot be resolved to a type
[javac] ----------
[javac] 4. ERROR in /home/justin/Desktop/jEdit/org/gjt/sp/jedit/help/HelpViewer.java
[javac] (at line 372)
[javac] ((HTMLDocument)viewer.getDocument())
[javac] ^^^^^^^^^^^^
[javac] HTMLDocument cannot be resolved to a type
[javac] ----------
[javac] 5. ERROR in /home/justin/Desktop/jEdit/org/gjt/sp/jedit/help/HelpViewer.java
[javac] (at line 374)
[javac] (HTMLFrameHyperlinkEvent)evt);
[javac] ^^^^^^^^^^^^^^^^^^^^^^^
[javac] HTMLFrameHyperlinkEvent cannot be resolved to a type
The list goes on... 8 errors, 40-some warnings. The src rpm from JPackage yielded similiar results.
Any ideas on how to get it working?
Thanks in advance!
Justin
(Tried to register on forum, but it didn't send me the email)
JCompile / Java Core Plugin problem with" "The Default service"
Submitted by Anonymous on Tuesday, 5 April, 2005 - 20:10
Hy
Iam new here and i have right now finished my installation of jEdit.
I have a problem when i start to compile a java file with jCompile:
The following Error popup starts when i start to compile:
+------------------------------------------+
| Java Core Plugin
+------------------------------------------+
| The "Default" service is not available.
| Possibly the plugin providing it has
| unloaded or removed. Switching to Default.
|
+------------------------------------------+
And if i click on OK just the compiler-console runs without any Errormessage,
but the sign of compiling is still turning.
I did load the whole plugins bymyself, as zip's und unzipped all jar
(also "JavaCore.jar" and "JavaParser.jar" from "JavaCore-0.7.1.zip" )
and by the Startup of jEdit is no Error Message.
What does that popup say?
is there a errorlog wich kan say more?
Can anybody help me please?
txs Florian
Java Runtime for MAC OS 10.2.8
Submitted by Anonymous on Tuesday, 22 March, 2005 - 02:34
Up installation and start-up an error message is retunred, "MAC OS Plug-in requires a later version of java (MRJ 99)" What do I need, I tried installing MRJ 2.2.26 but was returned a that the latest version was installed.
You have BeanShell version 2.0b1.1-jedit-1 in your CLASSPATH
Submitted by Anonymous on Monday, 21 March, 2005 - 14:09
[error] BeanShell: You have BeanShell version 2.0b1.1-jedit-1 in your CLASSPATH.
[error] BeanShell: Please remove it from the CLASSPATH since jEdit can only runwith the bundled BeanShell version 2.0b1.1-jedit-1
what i need to do?..
Uninstalling JEdit under Windows
Submitted by Anonymous on Saturday, 5 March, 2005 - 14:47
What's the proper way to uninstall JEdit after having installed it using the Java based installer? Is it enough to delete the two directories just created: C:\Program Files\JEdit and C:\Documents and Settings\user\.jedit, or there's also some file inside C:\Windows or other system directories? The fact is that I have no entry for JEdit under "Add/Remove Programs".
Installing on JumpDrive
Submitted by
kenweb on
Monday, 21 February, 2005 - 05:37
Is it possible to install Jedit and JRE on JumpDrive and be able to use the jedit/jump drive on different Window PC's?
I use several PC's and it would be nice to be able to install jedit and its environment once and carry the program with me when i move to a new computer.
Ken
Installing w/ JDK1.3
Submitted by Anonymous on Thursday, 10 February, 2005 - 05:56
I need to use JDK1.3 even though other JDK versions are also installed.
So this is what I tried:
- in build.xml, I added target="1.1" and "source=1.3" to the compile target.
- in build.xml, I commented out the jdk14 and jdk15 properties in the init target
So now everything builds, but running it yields an error:
/home/java/pc.i86.linux/blackdown-j2sdk.1.3.0/bin/java org.gjt.sp.jedit.jEdit
error] AWT-EventQueue-0: Exception occurred during event dispatching:
[error] AWT-EventQueue-0: java.lang.NoSuchMethodError
[error] AWT-EventQueue-0: at org.gjt.sp.jedit.gui.TipOfTheDay.(TipOfTheDay.java:94)
[error] AWT-EventQueue-0: at org.gjt.sp.jedit.jEdit.newView(jEdit.java:2200)
[error] AWT-EventQueue-0: at org.gjt.sp.jedit.PerspectiveManager$PerspectiveHandler.endElement(PerspectiveManager.java:344)
[error] AWT-EventQueue-0: at com.microstar.xml.XmlParser.parseETag(XmlParser.java:1041)
[error] AWT-EventQueue-0: at com.microstar.xml.XmlParser.parseContent(XmlParser.java:1112)
[error] AWT-EventQueue-0: at com.microstar.xml.XmlParser.parseElement(XmlParser.java:947)
[error] AWT-EventQueue-0: at com.microstar.xml.XmlParser.parseContent(XmlParser.java:1118)
[error] AWT-EventQueue-0: at com.microstar.xml.XmlParser.parseElement(XmlParser.java:947)
[error] AWT-EventQueue-0: at com.microstar.xml.XmlParser.parseDocument(XmlParser.java:496)
[error] AWT-EventQueue-0: at com.microstar.xml.XmlParser.doParse(XmlParser.java:176)
[error] AWT-EventQueue-0: at com.microstar.xml.XmlParser.parse(XmlParser.java:146)
[error] AWT-EventQueue-0: at org.gjt.sp.jedit.PerspectiveManager.loadPerspective(PerspectiveManager.java:81)
[error] AWT-EventQueue-0: at org.gjt.sp.jedit.jEdit$5.run(jEdit.java:3450)
[error] AWT-EventQueue-0: at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
[error] AWT-EventQueue-0: at java.awt.EventQueue.dispatchEvent(EventQueue.java:331)
[error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
[error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
[error] AWT-EventQueue-0: at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
Even though a window comes up, I can't type anything.
Any help would be appreciated.
P.S. I need to use JDK1.3 since it supports green threads. Basically, I would like to try running JEdit under the "Stabilizer". See: http://stabilizer.sf.net.
error when opening multiple files, jedit 4.2 xp sp1
Submitted by Anonymous on Friday, 4 February, 2005 - 18:16
i installed jedit 4.2 and have the launcher from www.mbisping.de/jedit/launcher.html on xp sp1
i have been able to associate various file extensions to open in jedit by default. i also went through the registry and made sure any reference to jedit now refers to the launcher: "c:\program files\jedit 4.2" -reuseview "%L"
this works well when i open one file. when i open a second file, whether by double clicking the icon or using the context menu, i get the errors pasted below. does anyone know how i can fix this?
[error] EditBus: Exception while sending message on EditBus:
[error] EditBus: java.lang.NoSuchMethodError: org.gjt.sp.jedit.EBMessage.getSource()Lorg/gjt/sp/jedit/EBComponent;
[error] EditBus: at bufferselector.BufferSelector.handleMessage(Unknown Source)
[error] EditBus: at org.gjt.sp.jedit.EditBus.send(EditBus.java:148)
[error] EditBus: at org.gjt.sp.jedit.EditPane.setBuffer(EditPane.java:117)
[error] EditBus: at org.gjt.sp.jedit.View.setBuffer(View.java:967)
[error] EditBus: at org.gjt.sp.jedit.jEdit.openFiles(jEdit.java:1365)
[error] EditBus: at org.gjt.sp.jedit.EditServer.handleClient(EditServer.java:252)
[error] EditBus: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[error] EditBus: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[error] EditBus: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[error] EditBus: at java.lang.reflect.Method.invoke(Unknown Source)
[error] EditBus: at bsh.Reflect.invokeOnMethod(Reflect.java:149)
[error] EditBus: at bsh.Reflect.invokeStaticMethod(Reflect.java:100)
[error] EditBus: at bsh.Name.invokeMethod(Name.java:872)
[error] EditBus: at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:72)
[error] EditBus: at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
[error] EditBus: at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
[error] EditBus: at bsh.BSHAssignment.eval(BSHAssignment.java:77)
[error] EditBus: at bsh.Interpreter.eval(Interpreter.java:641)
[error] EditBus: at bsh.Interpreter.eval(Interpreter.java:731)
[error] EditBus: at bsh.Interpreter.eval(Interpreter.java:720)
[error] EditBus: at org.gjt.sp.jedit.BeanShell._eval(BeanShell.java:446)
[error] EditBus: at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:410)
[error] EditBus: at org.gjt.sp.jedit.EditServer$1.run(EditServer.java:343)
[error] EditBus: at java.awt.event.InvocationEvent.dispatch(Unknown Source)
[error] EditBus: at java.awt.EventQueue.dispatchEvent(Unknown Source)
[error] EditBus: at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
[error] EditBus: at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
[error] EditBus: at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
[error] EditBus: at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
[error] EditBus: at java.awt.EventDispatchThread.run(Unknown Source)
actually what the jedit installer does?
Submitted by Anonymous on Monday, 24 January, 2005 - 14:32
Is it just unzip the files to the user choosed install directory?
Compile fine - Run Error
Submitted by Anonymous on Friday, 7 January, 2005 - 15:09
I have recently installed J2SE 5.0 and Jedit.
Everything I compile now compiles, but will not run.
I get this error in the console:
C:\Program Files\jEdit> java -classpath "$CLASSPATH;C:\javasrc" -ms32m -mx32m Hello
java.lang.UnsupportedClassVersionError: Hello (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread "main" Process java exited with code 1
C:\Program Files\jEdit>
Please help me understand what I need to do to remedy this runtime issue.
Thank you.
Johnsey - ljohnsey@sedgwickcms.com
Problem Installing on Windows XP SP2
Submitted by
shammond on
Friday, 7 January, 2005 - 01:28
Hi,
I'm installing jEdit on a new Windows machine and I'm having a problem. When I run the java-based installer the jFrame appears but it is empty, just a gray box. I know the components are there because if I click around I can get things to happen. If I use the Windows installer, everything goes fine, but then jEdit runs with the same problem -- a gray box appears with a smaller gray box for the tip of the day.
If I run either jEdit or the installer from the command line no errors are produced.
Here is the relevant version information.
jEdit 4.2 final
JDK 1.4.2_6 or JDK 1.5.0_1 (I've tried both)
Windows XP SP2 fresh install.
Because it is affecting both the installer and jEdit itself, I suspect it is a system problem. I've looked for extra java versions or jar files and nothing seems out of place. Has anybody seen this before? Any ideas what the problem is?
Thanks,
Steve
Average plugins size
Submitted by
ajba74 on
Wednesday, 22 December, 2004 - 13:49
Greetings,
Rookie question: what is the average size of a plugin? I am asking because I use a slow dialup connection. Is it required much bandwidth to keep my jedit updated?
Thanks you all,
Arnaldo
Setting Enviroment path?
Submitted by
fail66 on
Tuesday, 21 December, 2004 - 06:03
[warning] jEdit: jedit.jar not in class path!
[warning] jEdit: Assuming jEdit is installed in /home/xxxxx.
[warning] jEdit: Override with jedit.home system property.
I assume I have an environment variable set wrong, could someone please lend a hand and point me in the right direction?
remember window position of floating windows?
Submitted by
csy on
Saturday, 18 December, 2004 - 23:28
is it possible?
and if possible that the windows open again at startup after closing editor?
Uninstalling JEdit in linux
Submitted by Anonymous on Thursday, 16 December, 2004 - 11:00
Hi !
My JEdit installation have become corrupt somehow and does not allow me
for installing any new plugins for example.
When do I need to remove in order to uninstall everything gor making
a new fresh installation ?
When I delete the /home//jedit folder, and the /home//bin/jedit link
and install again using the Java installer, everything is just the same as before.
All settings, plugins and even buffers are still there.
Regards Niklas
compiling and running java programs !!
Submitted by
ivan83sg on
Tuesday, 14 December, 2004 - 06:24
Is there any plungins available for compiling and running java programs??
Thanks guys
Ivan
help with windows, jedit.bat, and default text editor.
Submitted by Anonymous on Friday, 10 December, 2004 - 23:49
Was trying to do some tutorials on C++ maybe learn something. Started reading to look for a good freeware text editor (have used textpad in the past for php/htm editing, but don't have a liscense for it here). Stumbled across jedit on a google, so far I like it. Wanted to make it my default editor.
I can associate most anything I want with the jedit.bat file and it works fine. My only real question is, on the first instance of jedit I open up using this method, the DOS window does not go away. Any subsequent openings after the initial jedit launch, the DOS window goes away. And if I close the initial Jedit window, then the DOS window goes away with it. I can close the DOS window at anytime with no ill affects. Its only a minor inconvenience, but I am trying to learn something new and any ideas on how to make that go away would be appreciated
Thanks!
Mike