Inactive [ADMIN] Crafty v0.7.6 - Server GUI [1240]

Discussion in 'Bukkit Tools' started by Timberjaw, Feb 3, 2011.

Thread Status:
Not open for further replies.
  1. I have fixed it. it is ok now. i can play
    If any of you's would like to join my server .(hamachi only)

    id: awesome master
    pass: 123
     
  2. Offline

    KoryuObihiro

    @Timberjaw Any sort of timeframe you can offer for this amazing frontend's development?
     
  3. Offline

    Timberjaw

  4. Offline

    KoryuObihiro

    @Timberjaw As in, when are you thinking of pushing another release?
     
  5. Offline

    Timberjaw

    @KoryuObihiro I have a minor release planned for the next few days to correct a CPU usage problem. Unfortunately, there's an issue with the fancy console in Bukkit that is causing issues. The options right now are 1) big error (harmless but ugly) when starting up Crafty, or 2) 40%+ idle CPU usage.

    I filed a bug report here: http://leaky.bukkit.org/issues/821

    As for new features, I don't have a timeline yet. Work has been keeping me very busy.
     
  6. Offline

    KoryuObihiro

    @Timberjaw Understandable - I barely have time to attend to my own plugins, with a full-time job. :) In the meantime, just wanted to offer congratulations for the amazing job you've done here.

    You be awesome.

    'kay. I'm done.
     
  7. Offline

    uber141

    Hello, I recently downloaded Crafty. Yes, I've made sure everything is the latest version.

    At first it was giving me the error message (when attempting to run the bat file) which said: "Windows cannot find javaw.exe. Please make sure the name was typed in correctly and try again." I've been reading through the pages on this thread, and tryed changing the PATH to all sorts of things. But no luck. However, what struck me as odd was sometimes the changes would let me access the Command Prompt it opens up without an error message.

    Other times, the Command Console would open up for a split second as usual, followed by an error message which said it could not find the javaw.exe. Lastly, some of the changes would say some sort of other gibberish that it couldn't find, and wouldn't open up the command console at all.

    So, I decided to follow the common uninstall and then reinstall trick. Not before I tryed restarting my computer a few times, to no avail. This time however, I did some research as well. Somebody on another website who appeared to be tech savvy said to make the path the following in order to find javaw.exe. It was: start "%windir%\SysWOW64\javaw.exe". At first I thought... It worked!

    The command console was open, no error messages. Not even any error messages in the command console itself. Victory though was seemingly followed by defeat, because Crafty wasn't opening. No errors though, so that must be good. But it just sits there, and what it reads is this: C:\Users\kyle\Desktop\craftbukkit\Crafty-v0.7.3

    Nothing else opened. I sat, still nothing. I tryed typing things like "start" or "open" and said they were unknown commands. So is there something I'm missing here? When I edited the .bat file, this is the whole, exact thing.

    @Echo off
    start "C:\path\to\my\java\bin\javaw"
    pause (I added pause on my second try to see if that would make any progress, but the only thing it does is opens another similar command window, except all it says is to press a key to continue, which closes the window).

    So I'm starting to think I made progress here. Especially considering at first I was running out of options, and was considering installing javaw, but I tryed that guy's path and it evidently found javaw.exe. Now I'm thinking that the next step is to add more to the path in order for it to be able to progress further and open Crafty? Please, any help is appreciated.

    I have Windows Vista 64 if that helps.

    The reason why I'm confused that it sits there, is because a YouTube tutorial I watched showed it progressing further than the command console, and opened the "GUI Window" I believe it is called.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 8, 2016
  8. Offline

    Timberjaw

    @uber141 Your crafty.bat should look something like:

    Code:
    @echo off
    start /b "C:\path\to\my\java\bin\javaw" -Xincgc -Xmx1G -jar crafty.jar "-nojline"
     
  9. Offline

    uber141

    I then receive the error message: Windows cannot find '-Xincgc'. Make sure you typed the name correctly, and then try again.

    NOTE: At least, I'm pretty sure I'm running on 64. I know I'm running on Vista for a fact, but if I was in reality running on 32, would that make a difference? Also, after unzipping and extracting the files, I deleted the zipped Crafty folder and kept the new, unzipped one. Would that produce a problem, possibly?

    Here are some screenshots I took to help visualize the problem, and how I've got things set-up. The first picture is the error message I get, saying it can't find '-Xincgc'. The second is a screenshot of the correct .bat file coding I guess you'd call it. The third is a picture of my desktop, and you can see the folder called "craftbukkit". The last picture is the contents inside that folder, and as you can see, the zipped version of Crafty-v0.7.3 has been deleted, replaced by the unzipped and extracted version.

    <Edit by Moderator: Redacted filesmelt url>

    <Edit by Moderator: Redacted filesmelt url>

    <Edit by Moderator: Redacted filesmelt url>

    <Edit by Moderator: Redacted filesmelt url>

    Please, any help would be appreciated. I really want this to work so me and my friends (about 10 of us) can play together. Eventually when I learn how to portforward I hope for it to become a popular public server, but it won't be possible without your help! :O

    P.S. I've also confirmed it that this is a 64-bit Operating System, Windows Vista.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Feb 23, 2019
  10. Offline

    Timberjaw

    @uber141 More info is always good. You should be running it from an unzipped folder.

    Try it again without the quotes around C:\path\to\my\java\bin\javaw
     
  11. Offline

    Celtic Minstrel

    Those quotes should neither be necessary nor problematic.
     
  12. Offline

    uber141

    <Edit by Moderator: Redacted filesmelt url>

    I removed the quotes, and this error pops up. Should I try changing the path to "C:\path\to\my\java\bin\javaw.exe" ? Of course, try it with, and then if necessary, without the quotations?
     
    Last edited by a moderator: Feb 23, 2019
  13. Offline

    Timberjaw

    @uber141 You need to change C:\path\to\my\java\bin\javaw to the actual path to your javaw.
     
  14. Offline

    uber141

    Odd thing is, that is the only one that would work. I've searched my computer like a hawk looking for a mouse to eat, and haven't found anything under javaw. That's why I was assuming "C:\path\to\my\java\bin\javaw" was the path.

    I'll look again, maybe I missed it.

    EDIT: This is what I get when I search for javaw.

    <Edit by Moderator: Redacted filesmelt url>

    What I get when I search for simply java.

    <Edit by Moderator: Redacted filesmelt url>
     
    Last edited by a moderator: Feb 23, 2019
  15. Offline

    Timberjaw

    @uber141 Mine is in C:\Program Files\Java\jre6\bin
     
  16. Offline

    uber141

    Alright, sweet! :D

    I found it. It was also in the same place as yours. So should I try making the path C:\Program Files (x86)\Java\jre6\bin, first with quotations and if necessary without?
     
  17. Offline

    Timberjaw

    Updated! v0.7.4 is a minor update to remedy a big CPU usage problem. This is a quick fix to work around what is (as best I can tell) a non-critical CraftBukkit bug. I've been getting CPU usage around 40% in 0.7.3 in recent CB builds; 0.7.4 brings it back down to normal levels (less than 5%).

    You'll notice a big ugly error on startup:
    Code:
     Jun 28, 2011 10:47:14 PM net.minecraft.server.ThreadCommandReader run
    SEVERE: null
    java.io.IOException: The handle is invalid
        at java.io.FileInputStream.read(Native Method)
        at jline.ConsoleReader.readLine(ConsoleReader.java:637)
        at jline.ConsoleReader.readLine(ConsoleReader.java:490)
        at jline.ConsoleReader.readLine(ConsoleReader.java:448)
        at jline.ConsoleReader.readLine(ConsoleReader.java:300)
        at net.minecraft.server.ThreadCommandReader.run(ThreadCommandReader.java:34)
    This appears to be unavoidable for the time being, and is related to the aforementioned CB bug, but don't be alarmed; the error has not impacted any functionality within Crafty or CraftBukkit as best I can tell.
     
  18. Offline

    uber141

    Does this mean I should update my Crafty again? If so, how would I go about updating it?
     
  19. Offline

    Timberjaw

    @uber141 Just download the new zip and extract the files as normal. Make sure you update your crafty.bat file to point to your Java location again.
     
  20. Offline

    uber141

    I now have the new updated version, unzipped and extracted just like before. I edited the .bat file to look like this.

    @Echo off
    start /b "C:\Program Files (x86)\Java\jre6\bin\javaw" -Xincgc -Xmx1G -jar crafty.jar "-nojline"

    The error message saying that '-Xincgc' is not recognized continues to pop up.

    Here is a screenshot I took of where I found the javaw. I also noticed that right below it is something called javaws. Not sure if that matters or not, but the names are quite similar.

    <Edit by Moderator: Redacted filesmelt url>

    I just tryed the following.

    @Echo off
    start /b "C:\Program Files (x86)\Java\jre6\bin\javaw -Xincgc -Xmx1G -jar crafty.jar -nojline"

    Was just playing around with the quotations to see what kind of results I could get. What I found was quite interesting. The coding above gives no error message, but I'm back to where I was earlier with it simply sitting there like you'll see in the following screenshot.

    <Edit by Moderator: Redacted filesmelt url>

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Feb 23, 2019
  21. Offline

    Timberjaw

    @uber141 It doesn't like the quotes for some reason. Try C:\Progra~2\Java\jre6\bin\javaw (no quotes)
     
  22. Offline

    uber141

    Got a different error this time. "Could not find the main class: com.aranai.crafty.Crafty. Program will exit." Below I have a screenshot. What intruiged me most was the command console that normally pops up, did so for about 1/4 of a second or less then disappeared.

    <Edit by Moderator: Redacted filesmelt url>

    Below is a picture of what I currently have typed into the crafty.bat file.

    <Edit by Moderator: Redacted filesmelt url>
     
    Last edited by a moderator: Feb 23, 2019
  23. Offline

    Timberjaw

    @uber141 what does your full crafty.bat look like right now?
     
  24. Offline

    uber141

    My full crafty.bat? I think you meant the folder it is in. Here are some pictures.

    Photo one shows the crafty.bat opened (in other words when you right click and choose the 'Edit' option). The second photo shows the Crafty-v0.7.4 opened, revealing the crafty.bat and crafty.jar files. The third photo shows Crafty-v0.7.4 and craftbukkit.jar together in the same folder. Screenshot four shows a folder titled 'craftbukkit' on my desktop, in which the Crafty and craftbukkit.jar files are found.

    <Edit by Moderator: Redacted filesmelt url>

    <Edit by Moderator: Redacted filesmelt url>

    <Edit by Moderator: Redacted filesmelt url>

    <Edit by Moderator: Redacted filesmelt url>
     
    Last edited by a moderator: Feb 23, 2019
  25. Offline

    Timberjaw

    @uber141 You should have crafty.bat, crafty.jar, and craftbukkit.jar all in the same folder.
     
  26. Offline

    uber141

    Like this?

    <Edit by Moderator: Redacted filesmelt url>
     
    Last edited by a moderator: Feb 23, 2019
  27. Offline

    Timberjaw

  28. Offline

    uber141

    Okay, so now with this change made, I tryed running the crafty.bat file and the same error message came up again.

    What now? Also, what build should my craftbukkit be?
     
  29. Offline

    Timberjaw

    @uber141 CB build shouldn't matter much. I'm on 860 right now.

    At this point I have no idea why your setup isn't working. Messed up JDK maybe?
     
  30. Offline

    uber141

    So what are my options? Java works fine for everything else, so I wouldn't think it is the JDK... On the contrary, I don't even know what JDK is, and for a matter of fact, all I'm doing is what you're telling me to do lol.

    Well, what should the coding look like? Should it look like the following?

    @echo off
    start /b "C:\Program Files (x86)\Java\jre6\bin\javaw -Xincgc -Xmx1G -jar crafty.jar" "-nojline"
     
Thread Status:
Not open for further replies.

Share This Page