Linux startup

0 views
Skip to first unread message

Mr_Banjo

unread,
Feb 10, 2009, 3:07:30 PM2/10/09
to CropPlanning Users
I just discovered this software, and it is exactly what I need for
keeping track of my garden plantings. Thanks to all who have worked
on this project. Even at its current stage of development it will be
useful.
Unfortunately I have been unable to use the program on my linux
computer. I can launch the jar file and go through the initial setup,
but after clicking "Finish" in the initial setup, the window closes
and the program itself does not launch. There are no error messages
in the terminal, but the settings and data files are not created. If
I run the program again, the process repeats. I've tried running as
root with the same results, so it isn't a permissions problem. Is
there any reason this shouldn't work in linux?

Clayton Carter

unread,
Feb 10, 2009, 3:40:36 PM2/10/09
to cropplann...@googlegroups.com
Uh oh. You're actually the first person (that I know of, at least)
that's used the program on Linux. It's written in Java (as you know),
so it *should* work anywhere that Java does; I don't have a Linux
machine to test it, though. It sounds as though the preference files
are not being created, or at least not being read correctly.
Preferences are handled by the jvm through some libraries/classes in
Java. I don't think that the code is doing anything abnormal, but
it's possible that I'm doing something I shouldn't w/ the prefs. It
works w/ Win and Mac, however, so I doubt it.

No error messages is curious. You can try starting the program w/ the
"-debug" flag to get debugging information. Paste that info here.

What version of Java and Linux are you using?

It's also possible that there's a problem w/ the classpath and it's
not finding some libraries or something that it needs. How are you
starting the program?

Thanks for trying the program! Mostly, it's been developed by me, but
a few other folks have contributed some code as well. We appreciate
the thanks.

Clayton

Mr_Banjo

unread,
Feb 11, 2009, 7:43:05 PM2/11/09
to CropPlanning Users
I got the program working. I was initially trying to run it using
OpenJDK, which is included with my linux distribution (Fedora 10) by
default. I downloaded Sun Java and the software seems to work
perfectly when invoked using it. Must be a compatibility issue with
OpenJDK.
-Jeremy
Reply all
Reply to author
Forward
0 new messages