[Neo4j] Error while creating EXE from JAR and Runnable JAR----RESOVLED

2011-05-13 Thread Abhishek AS
*PROBLEM:*

Was creating an exe by exporting JAR and Runnable JARs thro eclipse..
 Using Launch4j to do that. and having proper manifest files with the
 class
 path too.. But i get the following error when i try to run the created
exe
 file.
 Caused by:
 java.Lang.
 ClassNotFoundException: org.neo4j.graphdb.GraphDatabaseService
 at java.net.URLClassLoader$1.run
 at java.security.AccessController.doPrivileged
 at java.net.URLClassLoader.findClass
 at java.Land.ClassLoader.loadClass
 at sun.misc.Launcher$AppClassLoader.loadClass
 at java.Lang.ClassLoader.loadClass

 Could not find the main class: package name.Class name
  is there a solution to this.??
 i had actually created an exe earlier which was working perfectly fine..
 Plz help!

 Thanks.



*RESOVLED!!

*Issue has been resolved.!

Had to manually import from the archives, the following files.


   - org.graphdb.GraphDatabaseService and
   - javax.transaction.TransactionManager.Class


as these weren't getting resolved automatically.

And. Had to get rid of* lucene.IndexIdIdentifier* and I couldn't import that
alone too! Had to even remove a few lines of code that were inherited from
the class too!

Could this error be rectified in any other way?

Regards,
Abhishek.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Error while creating EXE from JAR and Runnable JAR

2011-05-12 Thread Abhishek AS
Was creating an exe by exporting JAR and Runnable JARs thro eclipse..
Using Launch4j to do that. and having proper manifest files with the class
path too.. But i get the following error when i try to run the created exe
file.
Caused by:
java.Lang.
ClassNotFoundException: org.neo4j.graphdb.GraphDatabaseService
at java.net.URLClassLoader$1.run
at java.security.AccessController.doPrivileged
at java.net.URLClassLoader.findClass
at java.Land.ClassLoader.loadClass
at sun.misc.Launcher$AppClassLoader.loadClass
at java.Lang.ClassLoader.loadClass

Could not find the main class: package name.Class name
 is there a solution to this.??
i had actually created an exe earlier which was working perfectly fine..
Plz help!

Thanks.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] User Digest, Vol 50, Issue 44

2011-05-12 Thread Abhishek AS
The classpath seems to be just a dot under the class path label.


 Message: 4
 Date: Thu, 12 May 2011 11:02:30 +0200
 From: Mattias Persson matt...@neotechnology.com
 Subject: Re: [Neo4j] Error while creating EXE from JAR and Runnable
JAR
 To: Neo4j user discussions user@lists.neo4j.org
 Message-ID: BANLkTik8Xry8bj4eJ_Y=nhd3umdc07f...@mail.gmail.com
 Content-Type: text/plain; charset=UTF-8

 Could you supply how your generated classpath looks like?

 2011/5/12 Abhishek AS abhishek@gmail.com

  Was creating an exe by exporting JAR and Runnable JARs thro eclipse..
  Using Launch4j to do that. and having proper manifest files with the
 class
  path too.. But i get the following error when i try to run the created
 exe
  file.
  Caused by:
  java.Lang.
  ClassNotFoundException: org.neo4j.graphdb.GraphDatabaseService
  at java.net.URLClassLoader$1.run
  at java.security.AccessController.doPrivileged
  at java.net.URLClassLoader.findClass
  at java.Land.ClassLoader.loadClass
  at sun.misc.Launcher$AppClassLoader.loadClass
  at java.Lang.ClassLoader.loadClass
 
  Could not find the main class: package name.Class name
   is there a solution to this.??
  i had actually created an exe earlier which was working perfectly fine..
  Plz help!
 
  Thanks.
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 



 --
 Mattias Persson, [matt...@neotechnology.com]
 Hacker, Neo Technology
 www.neotechnology.com


 --

 ___
 User mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user


 End of User Digest, Vol 50, Issue 44
 

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Creating EXE and a java.Lang error

2011-05-11 Thread Abhishek AS
Was creating an exe by exporting JAR and Runnable JARs thro eclipse..
Using Launch4j to do that. and having proper manifest files with the class
path too.. But i get the following error when i try to run the created exe
file.
Caused by:
java.Lang.ClassNotFoundException: org.neo4j.graphdb.GraphDatabaseService
at java.net.URLClassLoader$1.run
at java.security.AccessController.doPrivileged
at java.net.URLClassLoader.findClass
at java.Land.ClassLoader.loadClass
at sun.misc.Launcher$AppClassLoader.loadClass
at java.Lang.ClassLoader.loadClass

Could not find the main class: package name.Class name
 is there a solution to this.
i had actually created an exe earlier which was working perfectly fine..


Thanks, Regards
Abhishek
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user