Hi,
sometimes launching ganttproject.bat on my XP system
stops a this step (see screenshot).
I installed the Zip distribution, not the Win installer.
Closing console window and restarting makes the program
launch.
Parameters :
awt.toolkit sun.awt.windows.WToolkit
file.encoding Cp1252
file.encoding.pkg sun.io
file.separator \
java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
java.awt.printerjob sun.awt.windows.WPrinterJob
java.class.path ;.\eclipsito.jar
java.class.version 49.0
java.ext.dirs C:\Program Files\Java\jre1.5.0_06\lib\ext
java.home C:\Program Files\Java\jre1.5.0_06
java.io.tmpdir C:\DOCUME~1\AUFRER~1\LOCALS~1\Temp\
java.library.path
C:\WINDOWS\system32;.;C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Fichiers communs\GTK\2.0\bin
java.runtime.name Java(TM) 2 Runtime Environment,
Standard Edition
java.runtime.version 1.5.0_06-b05
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.5
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug
http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.5.0_06
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine
Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 1.5.0_06-b05
line.separator
os.arch x86
os.name Windows XP
os.version 5.1
path.separator ;
sun.arch.data.model 32
sun.boot.class.path C:\Program
Files\Java\jre1.5.0_06\lib\rt.jar;C:\Program
Files\Java\jre1.5.0_06\lib\i18n.jar;C:\Program
Files\Java\jre1.5.0_06\lib\sunrsasign.jar;C:\Program
Files\Java\jre1.5.0_06\lib\jsse.jar;C:\Program
Files\Java\jre1.5.0_06\lib\jce.jar;C:\Program
Files\Java\jre1.5.0_06\lib\charsets.jar;C:\Program
Files\Java\jre1.5.0_06\classes
sun.boot.library.path C:\Program Files\Java\jre1.5.0_06\bin
sun.cpu.endian little
sun.cpu.isalist
sun.desktop windows
sun.io.unicode.encoding UnicodeLittle
sun.jnu.encoding Cp1252
sun.management.compiler HotSpot Client Compiler
sun.os.patch.level Service Pack 1
user.country FR
user.dir C:\Documents and Settings\AUFRERE LAURENT\Mes
documents\Perso\GanttProject\ganttproject-2.0
user.home C:\Documents and Settings\AUFRERE LAURENT
user.language fr
user.name AUFRERE LAURENT
user.timezone Europe/Paris
user.variant
screenshot
Logged In: YES
user_id=920321
Ah. I may have some further insight. I went back and
looked at some of your notes. Are you still developing in
the now-long-obsolete 1.4.x Java SDK? I reinstalled the
1.4.12 run-time and things have been a bit smoother. But
that would not explain why the failure to completely load
was only intermittent, would it? I'd putz around with this
some more (I really do want a simpler alternative to
SureTrack...), but I have a project plan due....
Logged In: YES
user_id=162766
Code is compiled using JDK 1.4 but it can be run under both
JRE 1.4.x and JRE 1.5.x (I personally even recommend 1.5.x)
I don't think that this problem depends on JRE version
I've had a similar problem when launching on Linux. The first time it launches it's fine, but then it hangs on the splash screen. I had to delete the preferences and it would run again. I fixed it by giving more memory to the program in the batch script changing the line:
$JAVA_COMMAND -Xmx256m -classpath $CLASSPATH:$LOCAL_CLASSPATH $BOOT_CLASS $CONFIGURATION_FILE -log $LOG_FILE "$@"
to:
$JAVA_COMMAND -Xmx512m -classpath $CLASSPATH:$LOCAL_CLASSPATH $BOOT_CLASS $CONFIGURATION_FILE -log $LOG_FILE "$@"
Cheers,
Andres