Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Minecraft.jar problems

  1. #1
    Join Date
    Nov 2011
    Beans
    50

    Minecraft.jar problems

    I downloaded the full version of Minecraft today, and it seems to be really fun. The only problem I have, is that the mouse doesn't seem to stay focused in the Minecraft window. Usually, you would have to hit Esc to pause the game, and go to a different window. On my computer, I move my mouse around, and it doesn't stay with the crosshairs in the middle of the screen. I'm not really sure what happens, but my guess is that it thinks I clicked outside of the window, so I lose control of the mouse. I can still use the keyboard, just no mouse. To fix it temporarily, I have to hit the "e" key for inventory, and hit it again. Then I have control over my mouse until it happens again. Can anyone help me with this, and sorry if this is unclear. I've tried my best to explain it, but I really don't know whats going on.

    Note: I played the exact same version on Windows, and it ran fine. No mouse/window problems at all. Oh, and my OS is Lubuntu.

  2. #2
    Join Date
    Dec 2010
    Beans
    943

    Re: Minecraft.jar problems

    This might be an issue with your jre.

    Try installing the openjdk-7-jre package, and removing openjdk-6-jre. It might work better.

  3. #3
    Join Date
    Nov 2011
    Beans
    50

    Re: Minecraft.jar problems

    The only reason why I have OpenJDK6 installed, is because of Netbeans. Can I make NetBeans use OpenJDK7 instead? I remember installing NetBeans and it came with OpenJDK6.

    Edit: I ran Minecraft with OpenJDK7, and the same thing still happened. Surely that can't be the problem.
    Last edited by Treyonator56; October 10th, 2012 at 12:18 AM.

  4. #4
    Join Date
    Dec 2010
    Beans
    943

    Re: Minecraft.jar problems

    Hmm...

    The only time I've ever had this issue is when using a touchpad. I was accidentally clicking when moving my finger around.

    I fixed it by going to the Mouse settings, going to the Touchpad tab, and unchecking the "Click with touchpad" setting.

  5. #5
    Join Date
    Nov 2011
    Beans
    50

    Re: Minecraft.jar problems

    These are the only input settings i have.



    And here are the only mouse settings i have.



    Doesn't look like there is anything about that in there.

    I'm going to try running it in OpenJDK6. I'll see if that helps some how.

    Edit: When I play the game, I don't use the touchpad at all either. I use a USB mouse instead.

    Playing it on JDK6 doesn't help at all, actually, I think its worse.
    Last edited by Treyonator56; October 10th, 2012 at 12:57 AM.

  6. #6
    Join Date
    Dec 2010
    Beans
    943

    Re: Minecraft.jar problems

    Then you shouldn't have issues with the mouse.

    It must be with window focus. Maybe the system thinks the mouse is going over other windows?

    There should be a way to adjust window focus settings in Ubuntu. I just can't remember it at the moment, and I'm using Fedora.

  7. #7
    Join Date
    Nov 2011
    Beans
    50

    Re: Minecraft.jar problems

    This is really strange. I even went to full screen view, and it still didn't work right. Guess I'll have to find an alternative to Minecraft for Linux.

  8. #8
    Join Date
    Oct 2009
    Location
    Elgin, IL USA
    Beans
    2,531
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Minecraft.jar problems

    I have been running minecraft since its 1.8 beta (before 1.0 release) in 64-bit Ubuntu w/openjdk-6 and never had the problem you describe in regular minecraft. I have also run it on both 64-bit Ubuntu and Lubuntu that share a common /home partition, but not that frequently because it is a 1 GHz 2 core tablet PC w/10.1" 1280x800 screen. On that or desktop on 32" 1080p HDTV I typically run full screen, not in a window.

    The only thing I can think of is that classic X from years ago would typically only focus on the window the mouse cursor was actually on at the time, instead of the last window clicked. So under Openbox Configuration Manager > Mouse > Focusing Windows, make sure that "Focus windows when the mouse pointer moves over them" is NOT checked. Although, if that was checked it would also tend to move keyboard focus. So if it is a laptop, maybe it has something to do with dragging a thumb on the mousepad.

    I usually go to less than full screen when switching to a different workspace to check the minecraft wiki in a web browser, because sometimes when I do that full screen, the keyboard does not respond when I go back. But if I just pick up something out of my inventory with the mouse and put it back in, the keyboard works.

    The only time I have had the in game mouse cursor freeze is with tekkit (which is a separate minecraft with a bunch of mods added) and not even sure when that happens, possibly when closing the gui for one of the mod tools. But if that happens, I just hit "E" twice (to go into inventory and back to game) and it clears up.

    You may want to upgrade lwjgl. v2.4.2 distributed with minecraft occasionally results in stuck movement keys (press key in same direction you are moving to release a stuck key). So I have been using lwjgl 2.6 (most recent is 2.8.4). It is a zip file that involves replacing files in ~/.minecraft/bin and natives subdirectory under that.
    i5 650 3.2 GHz, 8 GB, nvidia GTX 550 Ti 32" 1080p | i7-4700, 8 GB, Intel HD 4600/nvidia GTX 765M 15.6" 1080p | etc.

  9. #9
    Join Date
    Oct 2012
    Beans
    7

    Re: Minecraft.jar problems

    Have you tried the in-browser version? I had this problem awhile ago, but the browser version worked fine for me.

  10. #10
    Join Date
    Nov 2011
    Beans
    50

    Re: Minecraft.jar problems

    @effladft thanks for all that information. I'll try some of it and tell you how it turns out.

    @blue, I've tried that in chromium and the iced tea plugin always crashes.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •