Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8995093
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T23:34:24+00:00 2026-06-15T23:34:24+00:00

I am trying to setup neo4j in python 2.7 but have come across an

  • 0

I am trying to setup neo4j in python 2.7 but have come across an alarming error. I am fairly new to neo4j and python as well as Ubuntu and would really appreciate some help

This is the error that I get

>>> import neo4j

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import neo4j
  File "/usr/local/lib/python2.7/dist-packages/neo4j/__init__.py", line 29, in <module>
    from neo4j.core import GraphDatabase, Direction, NotFoundException, BOTH, ANY, INCOMING, OUTGOING
  File "/usr/local/lib/python2.7/dist-packages/neo4j/core.py", line 19, in <module>
    from _backend import *
  File "/usr/local/lib/python2.7/dist-packages/neo4j/_backend.py", line 135, in <module>
    raise Exception("Unable to start JVM, even though I found the JVM path. If you are using windows, this may be due to missing system DLL files, please see the windows installation instructions in the neo4j documentation.",e)
Exception: ('Unable to start JVM, even though I found the JVM path. If you are using windows, this may be due to missing system DLL files, please see the windows installation instructions in the neo4j documentation.', TypeError("unsupported operand type(s) for +: 'NoneType' and 'str'",))

I have installed Java 6 Oracle as-well as jpype and as I have said before I am using ubuntu 12.10?
Should i set the JAVA_HOME and if so how, if not what other suggestions could someone make?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T23:34:25+00:00Added an answer on June 15, 2026 at 11:34 pm

    It looks like JPype cannot find your Java runtime. You can find out from where you are running Java by using:


    readlink -e `which java`

    This should give you something like:


    /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java

    You can then use the path from this to set the JAVA_HOME environment variable:


    export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/jre

    Hope this helps

    Nige

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to setup a game loop thread for a test animation, I have come
I have been trying to setup git for our web development team unsuccessfully. Some
I'm trying setup costum storege. Looks like all is ok. But there is the
Trying to setup a simple Thread/Poll table mapping. Here is what I have: Threads
Trying to setup plone2pdf in Plone 4. I have downloaded the Plone2pdf archive, extracted
Trying to setup a server on Rackspace.com. Have done the following things: Installed Centos
I'm trying to setup a Python application that should automatically start when Linux boots.
Im trying to setup my rails server on OSX 10.8 but I can't get
Trying to setup Heroku according to this start guide, but Im experiencing a no
Trying to setup a Maven Nexus Server but getting Could not resolve dependencies only

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.