Sorry, guys.
Silly question :).

First time try to use standard ubuntu packages to install java.

2011/7/21 Peter Neubauer <peter.neuba...@neotechnology.com>

> Nikolaj,
> it seems you are on a JRE, not a JDK, which you need to compile java
> programs. Try installing
>
> apt-cache search jdk
> apt-get install sun-java6-jdk
>
> Does that work?
>
> Cheers,
>
> /peter neubauer
>
> GTalk:      neubauer.peter
> Skype       peter.neubauer
> Phone       +46 704 106975
> LinkedIn   http://www.linkedin.com/in/neubauer
> Twitter      http://twitter.com/peterneubauer
>
> http://www.neo4j.org               - Your high performance graph database.
> http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
>
>
>
> 2011/7/21 Николай Ижиков <nizhi...@gmail.com>:
> > [~/backup/src/neo4j/community] $ mvn -version
> > Apache Maven 2.2.1 (rdebian-4)
> > Java version: 1.6.0_26
> > Java home: /usr/lib/jvm/java-6-sun-1.6.0.26/jre
> > Default locale: ru_RU, platform encoding: UTF-8
> > OS name: "linux" version: "2.6.38-10-generic" arch: "i386" Family: "unix"
> > [~/backup/src/neo4j/community] $ java -version
> > java version "1.6.0_26"
> > Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
> > Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode)
> > [~/backup/src/neo4j/community] $ uname -a
> > Linux niLaptop 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC
> 2011
> > i686 i686 i386 GNU/Linux
> > [
> >
> > 2011/7/21 Peter Neubauer <peter.neuba...@neotechnology.com>
> >
> >> Nikolai,
> >> what JDK are you running?
> >>
> >> Cheers,
> >>
> >> /peter neubauer
> >>
> >> GTalk:      neubauer.peter
> >> Skype       peter.neubauer
> >> Phone       +46 704 106975
> >> LinkedIn   http://www.linkedin.com/in/neubauer
> >> Twitter      http://twitter.com/peterneubauer
> >>
> >> http://www.neo4j.org               - Your high performance graph
> database.
> >> http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
> >> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
> >>
> >>
> >>
> >> 2011/7/21 Николай Ижиков <nizhi...@gmail.com>:
> >> > Hi, guys.
> >> > I try to compile neo4j from sources.
> >> >
> >> > I execute following commands and got some error messages.
> >> > How can I fix it?
> >> >
> >> >> git clone https://github.com/neo4j/community.git
> >> >> cd community
> >> >> mvn
> >> > [INFO] Scanning for projects...
> >> > [INFO] Reactor build order:
> >> > [INFO]   Neo4j - Graph Database Kernel
> >> > [INFO]   Neo4j - JMX support
> >> > [INFO]   Neo4j - Usage Data Collection
> >> > [INFO]   Neo4j - Lucene Index
> >> > [INFO]   Neo4j - Graph Algorithms
> >> > [INFO]   Neo4j - Graph Matching
> >> > [INFO]   Neo4j - Cypher
> >> > [INFO]   Neo4j Community
> >> > [INFO]   Neo4j Community
> >> > [INFO]   Neo4j - Generic shell
> >> > [INFO]   Neo4j Examples
> >> > [INFO]   Neo4j Server API
> >> > [INFO]   Neo4j Server
> >> > [INFO]   Neo4j Server Examples
> >> > [INFO]   Neo4j Community Build
> >> > [INFO] ------------------------------
> >> > ------------------------------------------
> >> > [INFO] Building Neo4j - Graph Database Kernel
> >> > [INFO]    task-segment: [compile]
> >> > [INFO]
> >> >
> ------------------------------------------------------------------------
> >> > [INFO]
> >> >
> ------------------------------------------------------------------------
> >> > [ERROR] BUILD ERROR
> >> > [INFO]
> >> >
> ------------------------------------------------------------------------
> >> > [INFO] Failed to resolve artifact.
> >> >
> >> > Missing:
> >> > ----------
> >> > 1) com.sun.tools:tools:jar:1.6
> >> >
> >> >  Try downloading the file manually from the project website.
> >> >
> >> >  Then, install it using the command:
> >> >      mvn install:install-file -DgroupId=com.sun.tools
> -DartifactId=tools
> >> > -Dversion=1.6 -Dpackaging=jar -Dfile=/path/to/file
> >> >
> >> >  Alternatively, if you host your own repository you can deploy the
> file
> >> > there:
> >> >      mvn deploy:deploy-file -DgroupId=com.sun.tools -DartifactId=tools
> >> > -Dversion=1.6 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
> >> > -DrepositoryId=[id]
> >> >
> >> >  Path to dependency:
> >> >      1) org.neo4j:neo4j-kernel:jar:1.5-SNAPSHOT
> >> >      2) com.sun.tools:tools:jar:1.6
> >> >
> >> > ----------
> >> > 1 required artifact is missing.
> >> >
> >> > for artifact:
> >> >  org.neo4j:neo4j-kernel:jar:1.5-SNAPSHOT
> >> >
> >> > from the specified remote repositories:
> >> >  central (http://repo1.maven.org/maven2),
> >> >  sonatype-nexus-snapshots (
> >> > https://oss.sonatype.org/content/repositories/snapshots),
> >> >  neo4j-snapshot-repository (http://m2.neo4j.org/snapshots)
> >> >
> >> >
> >> >
> >> > [INFO]
> >> >
> ------------------------------------------------------------------------
> >> > [INFO] For more information, run Maven with the -e switch
> >> > [INFO]
> >> >
> ------------------------------------------------------------------------
> >> > [INFO] Total time: 9 seconds
> >> > [INFO] Finished at: Tue Jul 19 17:15:06 MSD 2011
> >> > [INFO] Final Memory: 27M/152M
> >> > [INFO]
> >> >
> ------------------------------------------------------------------------
> >> >
> >> >
> >> > --
> >> > С уважением, Николай Ижиков
> >> > nizhi...@gmail.com
> >> > _______________________________________________
> >> > Neo4j mailing list
> >> > User@lists.neo4j.org
> >> > https://lists.neo4j.org/mailman/listinfo/user
> >> >
> >> _______________________________________________
> >> Neo4j mailing list
> >> User@lists.neo4j.org
> >> https://lists.neo4j.org/mailman/listinfo/user
> >>
> >
> >
> >
> > --
> > С уважением, Николай Ижиков
> > nizhi...@gmail.com
> > _______________________________________________
> > Neo4j mailing list
> > User@lists.neo4j.org
> > https://lists.neo4j.org/mailman/listinfo/user
> >
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
С уважением, Николай Ижиков
nizhi...@gmail.com
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to