Error Unable To Access Jarfile Windows-service-wrapper-*.jar
Sign in Pricing Blog Support Search GitHub This repository Watch 300 Star 3,095 Fork 1,010 neo4j/neo4j Code Issues 380 Pull requests 32 Projects 0 Wiki Pulse Graphs New issue Unable to access jarfile ...\windows-service-wrapper-*.jar #391 Open kkurni opened this Issue Dec 27, 2012 · 15 comments Projects None yet Labels bug operability Milestone No milestone Assignees No one assigned 14 participants kkurni commented Dec 27, 2012 Hi, I get this error on my windows 8 machine. I try using 1.8 and 1.9 but still get the same error when calling neo4j.bat start Any hints ? Thanks Neo4j member jexp commented Dec 27, 2012 Any chance to share more details? E.g. a full stacktrace? try to start neo4j.bat console to see the error on the console. kkurni commented Dec 27, 2012 PS C:\temp\neo4jRC1\bin> .\Neo4j.bat console Error: Unable to access jarfile C:\temp\neo4jRC1\bin\windows-service-wrapper-*.jar This is the error message that I get on windows. I am using windows 8 machine inside parallels. My plan is deploying it into windows Azure, so I have to test it on my local windows first. Thanks valsaul commented Dec 29, 2012 I had the same problem, as it seems bat file is not recognizing the wildcard command properly. To solve this, I edited bin\base.bat file and found the line with windows-service-wrapper-*.jar and changed it to windows-service-wrapper-4.jar , which was the name of the file that came with M1.8.1. This might not be the proper solution but just a stop gap measure. kkurni commented Dec 30, 2012 Thanks, it works for me now … On Sat, Dec 29, 2012 at 9:33 PM, valsaul ***@***.***> wrote: windows-service-wrapper -- Kurniawan Kurniawan (Ph) +61 432 5222 39 (Email) kkurni@gmail.com (Web) http://www.kkurni.com Ejhi commented Jan 6, 2013 @valsaul thnx. It help me too. bbar commented Jan 16, 2013 The problem seems to have something to do with the JRE version you're running. I was on 6 and everything worked fine. I switched to 7, and received this error. Neo4j.org states here that the database is currently tested with JRE 6: http://docs.neo4j.org/chunked/stable/deployment-requirements.html#_jdk_version Also, if you open the log in /data/log, you'll see that you get a warning if you're running anything but JRE 6. In any case, either edit the bin\base.bat file, or switch your JRE back to version 6. jakewins commented Feb 18, 2013 As per the comment above, Neo4j 1.8 only supports JDK 1.6. Support for Java 7 will be delivered in the upcoming 1.9 release of Neo4j. jakewins closed this Feb 18, 2013 rickardoberg commented Feb 19, 2013 While doing Windows QA I got this error
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error: Unable To Access Jar File up vote 35 down vote favorite 7 I'll keep this quick, I've finished my program. (Very Simple) And all I want to do is to be able to execute it without using an IDE. I've created a jar file, and https://github.com/neo4j/neo4j/issues/391 an exectuable jar file. When I double click the exe jar file, nothing happens, and when I try to use the command in cmd it gives me this: Error: Unable To Access Jar File. I will provide the code and the command I'm using. I am using Eclipse as my IDE, and I use the command: java -jar Calculator.jar How I created the Jar: 1.Right click on Project Folder (Calculator) 2.Select Export 3.Click on Java Folder and select Exectuable Jar File then select next 4.Launch Configuration: http://stackoverflow.com/questions/11943948/error-unable-to-access-jar-file Main - Calculator 5.Create Export Destination 6.Hit Finish and Profit! Well, not really. java eclipse jar executable-jar share|improve this question edited Oct 12 '15 at 13:04 gturri 4,77451937 asked Aug 14 '12 at 0:01 Joseph Smith 4932716 1 Sounds like the Jar is corrupt in some way, possibly missing the Manifest entry. –MadProgrammer Aug 14 '12 at 0:04 You should show how you created the JARs, what's in them and how you try to run the program. The Java code is irrelevant here. –Jochen Aug 14 '12 at 0:11 Have you tried relaunching elcipse and recompiling? Sometimes Eclipse has does some strange things that can be avoided by relaunching. –MattS Aug 14 '12 at 0:12 I find the code difficult to read and think about. And what's the point of having everything in a static main function and having a single instance method to clear the console? –Dave Newton Aug 14 '12 at 0:20 MadProgrammer: How can I fix this? Jochen: Will Do. I'll edit it now. MattS: Yes i've tried that multiple times Dave: Because I've only scratched the surface of Java and i dont really know what "beautiful" code looks like :) –Joseph Smith Aug 14 '12 at 0:29 | show 4 more comments 12 Answers 12 active oldest votes up vote 28 down vote I had encountered this issue when I had run my Jar file as Java -jar TestJar instead of Java -jar TestJar.jar Missing the extension .jar also causes this issue. share|improve this
installation instructions for Windows are lacking….this is all they have. It's a little more involved than that. Install Java Download and Install the Java http://blog.jongallant.com/2013/03/install-neo4j-windows.html JDK from http://www.oracle.com/technetwork/java/javase/downloads/index.html I clicked on this graphic: I then read the entire "Oracle Binary Code License Agreement for Java SE" word for word with Oracle and my lawyer https://bukkit.org/threads/unable-to-access-jarfile-craftbukkit-jar.103467/ present. After days of negotiation with Oracle we finally came to an agreement on the terms. My lawyer OK'd everything, so I came back and clicked on "Accept License error unable Agreement". I then selected the Windows x64 install. Version 7u17 at the time of this post. Install Neo4j Download the Community Edition of Neo4j from http://www.neo4j.org/install Unzip it to c:\temp\Neo4j Open base.bat in c:\temp\Neo4j\...\bin with your favorite text editor, I use Notepad++, but any text editor will do. Note if you don't do this step you could get this error unable to exception when trying to install Neo4j Error: Unable to access jarfile windows-service-wrapper-*.jar Find this line: set wrapperJarFilename=windows-service-wrapper-*.jar Change it to: set wrapperJarFilename=windows-service-wrapper-4.jar Save base.bat Open a Command Prompt and navigate to c:\temp\Neo4j\...\bin Run Neo4j.bat You might get a UAC prompt if you just double click on it. If you do, click "More info", then click "Run Anyway" You might get this "Windows Security Alert", check whatever networks are appropriate for you scenario and click Allow Access. If all goes well, Neo4j.bat will output this text: org.neo4j.server.AbstractNeoServer INFO: Server started on [http://localhost:7474/] Go to http://localhost:7474 and you should see the Neo4j web administration console. There are a lot of ways to get help…start with http://www.neo4j.org/participate. Jon Posted by Jon Gallant at 9:48 AM Labels: graph db, howto, neo4j, solution Newer Post Older Post Home Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way. Hosting Provided by Cbeyond Cloud Services 2015 Copyright Jon Gallant. Awesome Inc. template. Powered by Blogger.
so im kinda new to this whole deal and idk if theres another thread like this but i REALLY didnt feel like trying to find it... my problem is a soon a i go to open the server command prompt immediatly says "unable to access jarfile craftbukkit.jar" i already followed the steps in the trouble shooting thread and they didnt help at all, if somebody could give me some suggestions that would be great! mr.fixitman760, 1, 2012 #1 Offline Kimahri88 jarfile is executable? Kimahri88, 1, 2012 #2 Offline mr.fixitman760 what do you mean? mr.fixitman760, 1, 2012 #3 Offline Deonasoto My BukkitDev ProfileMy Plugins (0) mr.fixitman760 Rename the craftbukkit.jar to craftbukkit Deonasoto, 1, 2012 #4 CheshireCat, gameng98 and HoneyhiveHex like this. Offline mr.fixitman760 how exactly am i suppost to change the actual . jar part? i can change the name shown on the file to whatever i want yet it still says craftbukkit.jar cannot be accessed mr.fixitman760, 2, 2012 #5 Offline Deonasoto My BukkitDev ProfileMy Plugins (0) mr.fixitman760 sometimes, the file hides its .jar so in some cases the file is named craftbukkit.jar.jar Deonasoto, 2, 2012 #6 Offline Kimahri88 if u want to start a jar file, the file must have rights to be executable! Kimahri88, 2, 2012 #7 Offline Omnitv My BukkitDev ProfileMy Plugins (3) Kimahri88 said: ↑ if u want to start a jar file, the file must have rights to be executable!Click to expand... What the frank does that mean? Craftbukkit.jar is not an EXE you have to make a server.bat for it to run the .jar Read these; http://wiki.bukkit.org/Setting_up_a_server Try these; http://forums.bukkit.org/threads/craftbukkit-automatic-installer.26555 Take a look at these; http://forums.bukkit.org/threads/troubleshooting-common-problems-with-solution.44590/ Omnitv, 2, 2012 #8 Offline mr.fixitman760 thank you for the link Omnitv! i downloaded the automatic installer and everything is running smoothly so far! mr.fixitman760, 2, 2012 #9 Offline orangegian hey guys do u know how to make an no ip like this play.server-craft.org and is there a plugin so everyone can connect in the server orangegian, 11, 2012 #10 Offline zyseliax Hey, i'm new to set up a bukkit server, i bought the server from multicraft, and is trying to make it from default minecraft, to bukkit so i can get plugins and so on, but whenever i try to run that bat file it says unable to access jarfile craftbukkit.jar and i have no clue on what to do, also my craftbukkit.jar file is now a winrar file, before it was something else, i'm not aware of that's a problem