I installed rc3 and cannot execute it on my desktop or laptop. I tried it with and without the jvm and jar update. I can execute rc2 without a problem. Great program BTW.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I now learned, that starting memoranda.jar is not sufficient because of an error which occurs with the systray (Win XP). The debug option uses the java class net.sf.memoranda.start for startup. So I simply uses this with the "hidding options" start and javaw in the memoranda.bat script.
Regards
GG
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It is strange because I can run Memoranda with default memoranda.bat on WinXP (tested with JRE 1.4.2 and 1.5.0) both in normal and debug mode. I need to have a look at your error backtrace output (if any) to find a problem. Please post it if you can.
Yes, memoranda will not work properly if it is launched from JAR-file directly (without BAT-file), because of systray4j.dll is needed to be included in system PATH. One can avoid this problem by copying systray4j.dll into a system DLL directory (windows/system32 etc).
BTW, if someone would make a simple Windows installer for Memoranda, it would be a great help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I too had a truckload of problems running memoranda on windows (but it worked like a charm on linux!) - I just couldn't get past classpath issues with the system tray gizmo, and the memoranda.bat script really didn't work for me. Then again, 'ant run' didn't either, so it was probably all operator error.
I ended up modifying the build.xml just a teeny to properly fill out the "Class-Path:" property in memoranda.jar's META-INF/MANIFEST.MF. Once that was done, "ant package dist" created a dist'able directory structure and I was able to run memoranda (without the system tray, mind you) on both fedora5/gnome or winxp by either
(1) double-clicking memoranda.jar
(2) cd memoranda-dist-dir; java -jar build/memoranda.jar
I was going to say that dropping systray4j.dll into c:/windows/system32/ made things good again, but now that I've just tried it, the application starts up with the tray disabled. So, I obviously screwed something up. But, maybe it'll be useful for somebody.
The first part pulls the lib directory out. The second part slices up the <path> into space-separated syntax and sticks into the manifest. The other bit that feels a bit hacky was to stick tasklist.dtd into memoranda.jar so it's available on the classpath without having to do too much path gymnastics. That might not have been the best choice...
If I click memoranda.bat, I get an error window with th message "Could not find the main class. Program will exit".
If I call memoranda.bat in a commandline window I get the following:
Exception in thread "main" java.lang.UnsupportedClassVersionError: net/sf/memoranda/Start
(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)
PATH=d:\wintools\ActiveTcl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;d:\
Programme\Dome\ZipGenius\;d:\wintools\bat;d:\wintools\bin;C:\Programme\Java\j2re1.4.2_08\b
in;lib/win32;lib/win32
Additionally I copied the systray4j.dll to the windows/system32 directory, but it was the same thing.
Could you help?
Greetings, Veronika.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unfortunately, it didn't help.
Now - if I click memoranda.bat it starts java and nothing happens. if I click a second time, I get:
Fatal exception occured. Program will exit. - and java disappears from my task manager.
I do not now how to call memoranda in debug mode, but if i call 'memoranda.bat debug' in a commandline window, I get:
D:\wintools\memoranda>memoranda.bat debug
Default locale: Deutsch (Deutschland)
Use local messages: messages_de.properties
Exception in thread "main" java.lang.UnsatisfiedLinkError: addMainMenuNative
at snoozesoft.systray4j.Win32SysTray.addMainMenuNative(Native Method)
at snoozesoft.systray4j.Win32SysTray.addMainMenu(Win32SysTray.java:49)
at snoozesoft.systray4j.SysTrayManager.addMainMenu(SysTrayManager.java:58)
at snoozesoft.systray4j.SysTrayMenu.<init>(SysTrayMenu.java:123)
at snoozesoft.systray4j.SysTrayMenu.<init>(SysTrayMenu.java:93)
at net.sf.memoranda.ui.App.<clinit>(Unknown Source)
at net.sf.memoranda.Start.main(Unknown Source)
Greetings - Veronika.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I'm just trying Memoranda for the first time, and I got it to run exactly once with the "debug" argument given (WinXP, JRE 1.5). I used it long enough to decide that I really like it, but it eventually locked up, and now I can't run it again without exceptions flying all over the place. It's gets stuck at the splash screen, specifically...
The key exception appears to be this:
java.net.MalformedURLException: no protocol: tasklist.dtd
thrown by the Xerces library.
I wonder if there's a classpath issue.
Craig Wanke
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As a workaround you can remove DOCTYPE declaration lines in ".tasklist" files in project directories (under "Documents and Settings\{USERNAME}\.memoranda" directory)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried deleting the DOCTYPE line, and memoranda helpfully stuck the line back in while starting up, and then throwing the same exception.
However, changing "tasklist.dtd" to "file:tasklist.dtd" DOES work (as suggested in the bug report). I also have to start it on WinXP with "memoranda.bat debug", but I think you're already seen that one.
Thanks for the help!
Craig
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Download xom-1.1.jar and replace xom-1.0.jar in lib
Download the latest systray4j.jar and systray4j.dll. For some reason RC2 has the latest version but RC3 does not. RC2 has 1.5.1.0 of systray4j but RC3 has 1.4.2.0. Get it from Memorana RC2 if you can't find them elsewhere and put in lib and win32. (And system32 if necessary)
I installed rc3 and cannot execute it on my desktop or laptop. I tried it with and without the jvm and jar update. I can execute rc2 without a problem. Great program BTW.
At my site it is only running with debug option (on WinXP), otherwise no window appears.
I now learned, that starting memoranda.jar is not sufficient because of an error which occurs with the systray (Win XP). The debug option uses the java class net.sf.memoranda.start for startup. So I simply uses this with the "hidding options" start and javaw in the memoranda.bat script.
Regards
GG
Could you post the whole commandline to launch memoranda this way?
Thanks!
It is strange because I can run Memoranda with default memoranda.bat on WinXP (tested with JRE 1.4.2 and 1.5.0) both in normal and debug mode. I need to have a look at your error backtrace output (if any) to find a problem. Please post it if you can.
Yes, memoranda will not work properly if it is launched from JAR-file directly (without BAT-file), because of systray4j.dll is needed to be included in system PATH. One can avoid this problem by copying systray4j.dll into a system DLL directory (windows/system32 etc).
BTW, if someone would make a simple Windows installer for Memoranda, it would be a great help.
I too had a truckload of problems running memoranda on windows (but it worked like a charm on linux!) - I just couldn't get past classpath issues with the system tray gizmo, and the memoranda.bat script really didn't work for me. Then again, 'ant run' didn't either, so it was probably all operator error.
I ended up modifying the build.xml just a teeny to properly fill out the "Class-Path:" property in memoranda.jar's META-INF/MANIFEST.MF. Once that was done, "ant package dist" created a dist'able directory structure and I was able to run memoranda (without the system tray, mind you) on both fedora5/gnome or winxp by either
(1) double-clicking memoranda.jar
(2) cd memoranda-dist-dir; java -jar build/memoranda.jar
I was going to say that dropping systray4j.dll into c:/windows/system32/ made things good again, but now that I've just tried it, the application starts up with the tray disabled. So, I obviously screwed something up. But, maybe it'll be useful for somebody.
$ cvs diff -C 2 build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/memoranda/memoranda/build.xml,v
retrieving revision 1.16
diff -C2 -r1.16 build.xml
*** build.xml 17 Jul 2006 08:02:57 -0000 1.16
--- build.xml 17 Oct 2006 18:23:13 -0000
***************
*** 35,46 ****
</target>
<!-- classpath -->
! <path id="classpath">
! <pathelement path="${build.classes.dir}"/>
! <!--pathelement path="${conf.dir}" /-->
! <!--<fileset dir="${lib.dir}" >-->
<fileset dir="lib">
<include name="*.jar"/>
<include name="*.zip"/>
</fileset>
</path>
<!-- =================================================================== -->
--- 35,49 ----
</target>
<!-- classpath -->
! <path id="libdir">
<fileset dir="lib">
<include name="*.jar"/>
<include name="*.zip"/>
</fileset>
+ </path>
+ <path id="classpath">
+ <pathelement path="${build.classes.dir}"/>
+ <!--pathelement path="${conf.dir}" /-->
+ <!--<fileset dir="${lib.dir}" >-->
+ <path refid="libdir"/>
</path>
<!-- =================================================================== -->
***************
*** 51,61 ****
<format property="ts" pattern="MM/dd/yyyy HH:mm:ss z"/>
</tstamp>
<jar jarfile="${build.dir}/${jarname}">
<fileset dir="${build.classes.dir}" includes="*net/**"/>
<!--<fileset dir="${source.dir}"
includes="**.properties,**.props,**.gif,**.jpg,**/resources/**"/>-->
<manifest>
<attribute name="Main-Class" value="${main.class}"/>
! <attribute name="Class-Path" value="${runtime.classpath}"/>
<attribute name="Implementation-Title" value="${name}"/>
<attribute name="Implementation-Version" value="${version}"/>
--- 54,69 ----
<format property="ts" pattern="MM/dd/yyyy HH:mm:ss z"/>
</tstamp>
+ <pathconvert property="manifest.classpath" pathsep=" " dirsep="${file.separator}">
+ <path refid="libdir"/>
+ <map from="${basedir}${file.separator}lib${file.separator}" to="../lib/"/>
+ </pathconvert>
<jar jarfile="${build.dir}/${jarname}">
<fileset dir="${build.classes.dir}" includes="*net/**"/>
+ <fileset dir="${build.classes.dir}" includes="*.dtd"/>
<!--<fileset dir="${source.dir}"
includes="**.properties,**.props,**.gif,**.jpg,**/resources/**"/>-->
<manifest>
<attribute name="Main-Class" value="${main.class}"/>
! <attribute name="Class-Path" value="${manifest.classpath}"/>
<attribute name="Implementation-Title" value="${name}"/>
<attribute name="Implementation-Version" value="${version}"/>
The first part pulls the lib directory out. The second part slices up the <path> into space-separated syntax and sticks into the manifest. The other bit that feels a bit hacky was to stick tasklist.dtd into memoranda.jar so it's available on the classpath without having to do too much path gymnastics. That might not have been the best choice...
All the hard stuff was cribbed from
http://forum.java.sun.com/thread.jspa?threadID=681356
I found this project 2 days ago, and am really thrilled at how useful it is. I've been looking for something like this for a long time now.
Props for the good work. I'm glad to see that this is still an active project!
Cheers
- Mark
If I click memoranda.bat, I get an error window with th message "Could not find the main class. Program will exit".
If I call memoranda.bat in a commandline window I get the following:
Exception in thread "main" java.lang.UnsupportedClassVersionError: net/sf/memoranda/Start
(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)
PATH=d:\wintools\ActiveTcl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;d:\
Programme\Dome\ZipGenius\;d:\wintools\bat;d:\wintools\bin;C:\Programme\Java\j2re1.4.2_08\b
in;lib/win32;lib/win32
Additionally I copied the systray4j.dll to the windows/system32 directory, but it was the same thing.
Could you help?
Greetings, Veronika.
Please download Java1.4-compatible build of Memoranda RC3 from here: http://prdownloads.sourceforge.net/memoranda/memoranda1.0rc3-jvm1.4update.zip?download
You only need to update build/memoranda.jar file from this archive.
Unfortunately, it didn't help.
Now - if I click memoranda.bat it starts java and nothing happens. if I click a second time, I get:
Fatal exception occured. Program will exit. - and java disappears from my task manager.
I do not now how to call memoranda in debug mode, but if i call 'memoranda.bat debug' in a commandline window, I get:
D:\wintools\memoranda>memoranda.bat debug
Default locale: Deutsch (Deutschland)
Use local messages: messages_de.properties
Exception in thread "main" java.lang.UnsatisfiedLinkError: addMainMenuNative
at snoozesoft.systray4j.Win32SysTray.addMainMenuNative(Native Method)
at snoozesoft.systray4j.Win32SysTray.addMainMenu(Win32SysTray.java:49)
at snoozesoft.systray4j.SysTrayManager.addMainMenu(SysTrayManager.java:58)
at snoozesoft.systray4j.SysTrayMenu.<init>(SysTrayMenu.java:123)
at snoozesoft.systray4j.SysTrayMenu.<init>(SysTrayMenu.java:93)
at net.sf.memoranda.ui.App.<clinit>(Unknown Source)
at net.sf.memoranda.Start.main(Unknown Source)
Greetings - Veronika.
I've got the same problem here under Windows XP (not the Pro version), SP1, in French (if it's of importance). And I have all the rc3 files.
Nicolas CJ
Hi, I'm just trying Memoranda for the first time, and I got it to run exactly once with the "debug" argument given (WinXP, JRE 1.5). I used it long enough to decide that I really like it, but it eventually locked up, and now I can't run it again without exceptions flying all over the place. It's gets stuck at the splash screen, specifically...
The key exception appears to be this:
java.net.MalformedURLException: no protocol: tasklist.dtd
thrown by the Xerces library.
I wonder if there's a classpath issue.
Craig Wanke
This is a known bug with (see http://sourceforge.net/tracker/index.php?func=detail&aid=1531944&group_id=90997&atid=595566\)
As a workaround you can remove DOCTYPE declaration lines in ".tasklist" files in project directories (under "Documents and Settings\{USERNAME}\.memoranda" directory)
I tried deleting the DOCTYPE line, and memoranda helpfully stuck the line back in while starting up, and then throwing the same exception.
However, changing "tasklist.dtd" to "file:tasklist.dtd" DOES work (as suggested in the bug report). I also have to start it on WinXP with "memoranda.bat debug", but I think you're already seen that one.
Thanks for the help!
Craig
Actually, I jumped the gun. Memoranda rewrites (and breaks) the DOCTYPE line every time it updates the file, I think.
Craig
Fixed in CVS version.
Woopsie - that really didn't paste very well. Sorry about that - sf newbie.
- Mark
I've made RC3 work after comparing it to RC2. Some changes may be necessary.
These three lines in PreferencesDialog.java don't work. Comment them out for now:
//App.getFrame().workPanel.dailyItemsPanel.editorPanel.editor.editor.setAntiAlias(antialiasChB.isSelected());
//App.getFrame().workPanel.dailyItemsPanel.editorPanel.initCSS();
//App.getFrame().workPanel.dailyItemsPanel.editorPanel.editor.repaint();
Download xom-1.1.jar and replace xom-1.0.jar in lib
Download the latest systray4j.jar and systray4j.dll. For some reason RC2 has the latest version but RC3 does not. RC2 has 1.5.1.0 of systray4j but RC3 has 1.4.2.0. Get it from Memorana RC2 if you can't find them elsewhere and put in lib and win32. (And system32 if necessary)
Edit build.xml and re-add:
<property name="runtime.classpath" value="../lib/htmleditor.jar ../lib/xercesImpl.jar ../lib/xmlParserAPIs.jar ../lib/xom-1.1.jar ../lib/nekohtml.jar ../lib/uuidgen.jar ../lib/kunststoff.jar ../lib/systray4j.jar"/>
This line from build.xml was lost from RC2 (Please note xom-1.1 instead of xom-1.0)
These work for me. I'll play with the preferences later and see if I can figure out what was intended.
I did a fresh checkout, and made your suggested modifications to PreferencesDialog.java and build.xml. I fetched xom-1.1.jar from
http://www.cafeconleche.org/XOM/xom-1.1.jar
I omitted the systray stuff since this time I'm running on ubuntu/gnome.
'ant run' seemed to compile and start up in record time without a hitch.
Thanks for your timely reply. Just what I needed.
Cheers
- Mark