Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50718 - freemind could not be started
Summary: freemind could not be started
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 50723 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-11 01:36 UTC by Tom Winterhalder
Modified: 2004-05-13 18:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Winterhalder 2004-05-11 01:36:16 UTC
After installing freemind, I was not able to start it, using the command freemind.
Trying to find out where the problem is, I have seen, that the java flag was not set in make.conf.
After setting it and reemerge freemind it run as axpected.
Perhaps the java flag should be included in the ebuild.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



For me the problem is solved not. But I think of others who don't have the java 
flag set.
Comment 1 Sven Wegener gentoo-dev 2004-05-11 02:20:10 UTC
do you remeber the error message displayed when running freemind for
the first time?

did your first emerge of freemind pulled in an jre as a dependency or did
you already had a jre installed?

please also attach the output of emerge --info
Comment 2 Tom Winterhalder 2004-05-11 02:28:38 UTC
The error message:
myhost# freemind
Exception in thread "main" java.util.zip.ZipException: No such file or directory
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:112)
    at java.util.jar.JarFile.<init>(JarFile.java:117)
    at java.util.jar.JarFile.<init>(JarFile.java:55)

There was an error in the first post. The problem is solved now and not as written "...is solved not"

The ebuild automatically emerged a jre as a dependency. But the above mentioned error occured anyway before setting the java flag.
Comment 3 Tom Winterhalder 2004-05-11 02:35:26 UTC
*** Bug 50723 has been marked as a duplicate of this bug. ***
Comment 4 Sven Wegener gentoo-dev 2004-05-11 02:46:11 UTC
ok, if the jre was emerged as dependency, the reason for this bug seems to
be the famous "env-update && source /etc/profile" trick. java.eclass does set
the system-vm, calls env-update and sources /etc/profile but that only influences
the running emerge session not the current session of the user.

doing "source /etc/profile" after the first emerge should've solved your problem.
the reason why it worked the second time might be that you did a logout/login
between both emerges.
Comment 5 Chris Aniszczyk (RETIRED) gentoo-dev 2004-05-13 18:34:37 UTC
I assume this is fixed.

Gentoo will be updating the way java is handled soon so these stupid idiocracies won't happen anymore ;) 

Patience guys though!