gephi.team team mailing list archive
-
gephi.team team
-
Mailing list archive
-
Message #00209
Re: [Question #106928]: build fails. netbeans 6.8 jdk 1.6_18 win7
Question #106928 on Gephi changed:
https://answers.launchpad.net/gephi/+question/106928
Status: Answered => Solved
Charles Adkins confirmed that the question is solved:
Ok I have a successful build. :)
Here is the rundown.
First some context.
Win7 ultimate, running as a FirstUser.
In this scenario FirstUser does not have write permissions to the Program Files folder.
I found several different copies of an org-openide-utils.jar on the filesystem.
the 7.31.1.1 version is in the Program Files .. netbeans6.8 ... platform11/lib folder
the 7.31.2.1 version is in the Users/FirstUser/.netbeans folder
So it appears that under different circumstances, nb picks up different
versions for its dependency resolution tasks.
When I attempted to copy the correct version from the User folder to the Program Files folder,
win7 complained that I needed admin privileges to write to the Program Files Folder.
I gave myself admin privileges and copied the 7.31.2.1 version into the program files ... lib dir and
the compile moved ahead. (but did not succeed completely. more about that in a moment)
hmmm.
So perhaps, running nb as FirstUser, the update could not write to the Program Files Folder and stuck
a copy in the FirstUsers folder (either instead or as well).
In any case, moving the 7.31.2.1 into Program Files (x86)/
More evidence...
As I said the compile did not succeed completely.
It failed with another dependency error,
Desktop Import faied with a dependency error on org-openide-explorer.jar -- wanting 6.22.2.1
Scanning for this file I also found two copies.
The older one in the Program Files folder
and the newer one in H:\Users\FirstUser\.netbeans\6.8\modules
So I updated the older file, and win7 complained again about privileges, and I gave myself permission,
and voila!
successful build.
So now if I am gonna run updates for the IDE I will run as
administrator.
Not sure if the permission issue is why the update fails to move the jars into place, (cause
that wasn't the only thing being updated, and nothing else appears broken),
but for now this solved the problem for me.
Thanks for your help Mathieu, I hope this detailed message helps you
out, Antonio, as well.
You received this question notification because you are a member of
Gephi Team, which is an answer contact for Gephi.