Hi Allen,

First of all, using maven as root is not a good idea, maven downloads
lots of dependencies (jars and natives) and uses $HOME/.m2/repository
to download it, so first time you do it as root you get all
dependencies but on root home (bad idea).

Second, reading your last mavenoutput txt, I realized that you are
pointing JAVA_HOME to default_java, which is not SUN jdk. You need SUN
jdk:

$ sudo apt-get install sun-java6-jdk (as I told you in previous messages)

and point JAVA_HOME to that jdk.

$ export JAVA_HOME=/usr/lib/jvm/java-6-sun

So please, pay attention of my messages because I'm repeating the same
instructions. I use ubuntu and if you also use it, these instructions
are valid for both.

Rafa.

On Thu, Feb 11, 2010 at 11:22 PM, Allen Saucier <[email protected]> wrote:
> Ok,
> well, I keep getting the same errors from maven or cmake and I really don't  
> understand what is wrong.
>
> No matter what I do, the JAVA_INCLUDE_PATH and JAVA_INCLUDE_PATH2 are not 
> recognized as being set but they are.  I have included my output from maven 
> and I really do not understand it.
>
> Why do you think the java include paths are not being recognized but I have 
> set them and they are correct.  The Java home variable has been set 
> correctly, too.
>
> And I am using your latest CMakeLists.txt file, as well.

>
>
>
> Best regards,
> Allen
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=24046#24046
>
>
>
>
> Attachments:
> http://forum.openscenegraph.org//files/mavenoutput5_124.txt
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
Rafael Gaitán Linares
Instituto de Automática e Informática Industrial  http://www.ai2.upv.es
Ciudad Politécnica de la Innovación
Universidad Politécnica de Valencia
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to