View Full Version : [SOLVED] How to add "export GDK_NATIVE_WINDOWS=true" into eclipse
February 25th, 2011, 05:37 AM
I'm new to Ubuntu and coding in general, so sorry for this probably basic coding question. I am trying to play Minecraft on my computer and the keyboard buttons won't work. So I google, and found this thread http://ubuntuforums.org/showthread.php?t=1316071. Except, I don't know how to "add" this line of code? to a folder and have no clue what is going on. By any chance, could someone explain? Thanks for the help.
February 25th, 2011, 05:50 AM
Make a new launcher (eventually on your Desktop or in the Applications menu).
Fill in the info (icons, name etc.). In the command box, write;
sh -c "cd <path to minecraft> && export GDK_NATIVE_WINDOWS=1 <minecraft launch file>"
sh -c "cd ~/Documents/testgame && export GDK_NATIVE_WINDOWS=1 ./testgame.sh"
But I guess you need to use java -Xmx1024M -Xms512M -cp Minecraft.jar net.minecraft.LauncherFrame where it says <minecraft launch file>.
February 25th, 2011, 06:14 PM
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.