Does not start

Bug #212588 reported by Dennis Heinson
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
freemind (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: freemind

Hello! This might be a Java VM generic bug, but I am using another Java Application at the same time and it works flawlessly.

dennis@Computer:~$ freemind
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object

dennis@Computer:~$ cat /etc/jvm [...]
/usr/lib/jvm/java-gcj
/usr/lib/jvm/ia32-java-1.5.0-sun
/usr/lib/jvm/java-1.5.0-sun
/usr

dennis@Computer:~$ sudo update-alternatives --config java [...]
          1 /usr/lib/jvm/java-7-icedtea/jre/bin/java
          2 /usr/lib/jvm/java-6-sun/jre/bin/java
*+ 3 /usr/lib/jvm/java-6-openjdk/jre/bin/java

Tags: patch
Revision history for this message
Jeff Fortin Tam (kiddo) wrote :

freemind (no matter which version, no matter which java, no matter which user account) refuses to start. It just hangs on ubuntu 8.04. How come nobody noticed this?

Changed in freemind:
status: New → Confirmed
Revision history for this message
Katerine (katerine-m) wrote :

Check your /etc/environment file ($ sudo gedit /etc/environment) and make sure that JAVA is in there, both in your regular area and in your PATH info.

For example, here is my /etc/environment file:

# begin
JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.07/
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-6-sun-1.6.0.07/bin/"
LANGUAGE="en_US:en"
LANG="en_US.UTF-8"
# end

... at least, when I was struggling with the hanging problem similar to yours (it would open on a blank white screen and just HANG), it didn't fix until I did that.

Source: http://ubuntuforums.org/showthread.php?t=595516

Other things I tried that didn't work (although may have contributed to getting it to work eventually):

- http://jcpmblog.wordpress.com/2007/06/11/how-to-install-freemind-mind-mapping-tool-in-ubuntu-dapper-feisty/
- http://ubuntu.wordpress.com/2005/09/09/installing-microsoft-fonts/

HTH. :)

Revision history for this message
Humberto (hrcpemex) wrote :

This works perfectly on Jaunty-ubuntu-studio, thank you very much Katerine.

Revision history for this message
daqron (daqron) wrote :

This may be a new issue but the result is the same: the program freezes at the splash screen on startup and has to be force quit.

Freemind 8 will install correctly in Ubuntu 9.10 karmic due to unavailability of the package "librelaxng-datatype-java".

Possibly useful feedback from terminal:

The following packages have unmet dependencies:
  freemind: Depends: librelaxng-datatype-java but it is not installable

Package librelaxng-datatype-java is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package librelaxng-datatype-java has no installation candidate

Revision history for this message
daqron (daqron) wrote :

ACK! I meant will NOT install correctly in Ubuntu 9.10. Need more coffee :(

Revision history for this message
AnGus (ozsolarwind) wrote :

I had no end of trouble getting FreeMind to work on Ubuntu 9.10. I solved the problem by borrowing on the advice of others:

1. Added JAVA_HOME="/usr/lib/jvm/java-6-sun/" to /etc/environment file (see Katerine 2008-12-09 above)
2. Installed freemind_0.9.0RC4-0ubuntu1_all.deb (https://launchpad.net/~igorgomes/+archive/ppa/+files/freemind_0.9.0RC4-0ubuntu1_all.deb) as referred to in Re: [Bug 182927] Re: Update FreeMind to 0.9.0 RC4 by Igor

I'm now happy I can use one of my favorite apps again.

AnGus

Revision history for this message
daqron (daqron) wrote :

AnGus - well done - cheers for that solution.

Revision history for this message
Duncan Lithgow (duncan-lithgow) wrote :

Freemind 0.9 is now supported in universe, so I'm closing this old bug as I assume these problems have ironed themselves out. If you're still seeing problems feel free to reopen this bug or file a new one.

Changed in freemind (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Martin Wildam (mwildam) wrote :

No, the problem still exists - or let me say it in other words: I never had this problem before and now on 12.04 some time between September and last week something must have happened to break it (I am on 12.04 since summer and Freemind already worked there).

Investigating the problem I found out that somehow in the /usr/share/freemind/freemind.sh there was a special handling for debian based distributions - I don't know why this has been introduced because the default handling using "which java" to determine java location works fine in Ubuntu.

## 2012-11-29 (mwildam): Removed special handling for debian as the default handling does well on Ubuntu - no extra tricks needed.
#if [ -r /usr/lib/java-wrappers/java-wrappers.sh ]
#then # the Debian method
# . /usr/lib/java-wrappers/java-wrappers.sh
# require_java_runtime java6
#else
 findjava
 if [ $? -ne 0 ]
 then
  exit 1
 fi
#fi

Revision history for this message
Martin Wildam (mwildam) wrote :

Here is the patch file

Changed in freemind (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "freemind.sh.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Doug Winter (doug-isotoma) wrote :

I have this problem in precise, but the patch worked for me.

Revision history for this message
malteNN (sirtrinkalot) wrote :

Can please anyone help me?? I've no idea how to install that patch...

I used freemind quite a lot last year and wanted to use it again now. I was surprised that it wasn't installed anymore. After adding it again via the software center, it doesn't start...
Help! Need it for work!

Thank you

information type: Public → Public Security
information type: Public Security → Public
Revision history for this message
Martin Wildam (mwildam) wrote : Re: [Bug 212588] Re: Does not start

By accident sitting in front of an Ubuntu 12.10 and tried the default
freemind 0.9.0 package from the repositories.

Looks like my patch is not applied but freemind starts fine.
Maybe /usr/lib/java-wrappers/java-wrappers.sh has been changed in the
meantime or it is due to the fact that this machine here is a very default
installation:
/usr/bin/java -> /etc/alternatives/java
/etc/alternatives/java -> /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java

while my machine has several java versions installed (as part of my work is
java development) and this is why maybe freemind's way of finding the
correct java installation struggles in the case when multiple java versions
are available on the machine (did not investigate the java-wrappers.sh in
detail).

On Wed, Jun 26, 2013 at 8:36 AM, Carsten Heidmann <email address hidden>wrote:

> ** Information type changed from Public Security to Public
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/212588
>
> Title:
> Does not start
>
> Status in “freemind” package in Ubuntu:
> Confirmed
>
> Bug description:
> Binary package hint: freemind
>
> Hello! This might be a Java VM generic bug, but I am using another
> Java Application at the same time and it works flawlessly.
>
> dennis@Computer:~$ freemind
> Error occurred during initialization of VM
> java/lang/NoClassDefFoundError: java/lang/Object
>
> dennis@Computer:~$ cat /etc/jvm [...]
> /usr/lib/jvm/java-gcj
> /usr/lib/jvm/ia32-java-1.5.0-sun
> /usr/lib/jvm/java-1.5.0-sun
> /usr
>
> dennis@Computer:~$ sudo update-alternatives --config java [...]
> 1 /usr/lib/jvm/java-7-icedtea/jre/bin/java
> 2 /usr/lib/jvm/java-6-sun/jre/bin/java
> *+ 3 /usr/lib/jvm/java-6-openjdk/jre/bin/java
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/freemind/+bug/212588/+subscriptions
>

--
Martin Wildam

http://martin.wildam.org/

Revision history for this message
Duncan Lithgow (duncan-lithgow) wrote :

This bug is looking very generic and not really suitable for bugtracking. I can't find an obvious counterpart on http://sourceforge.net/p/freemind/bugs/

@Martin. Maybe you could look at Freeminds bug tracker to see if you can find an equivalent?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.