Java issue must be fixed please help
#1 Ubuntu-10.04-x86_64 (its a form of liunx)
#2 OS 64 bit #3 java 1.6.0_20 #4 java 64 bit #5 ERROR below, do you need more info? i dont know what to give for info, if u need more please tell me what to look for craft: line1: @ECHO: command not found craft: line2: IF: command not found craft: line3: IF:command not found craft: line5: PAUSE: command not found i need it to look like this below, and load the program called "craft".jar @ECHO OFF IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="64" "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xms512M -Xmx512M -jar "%~dp0craft.jar" IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="86" java -Xms512M -Xmx1000M -jar "%~dp0craft.jar" PAUSE |
Not a Java issue but a scripting one:
Code:
case $(uname -i 2>/dev/null) in |
Quote:
so do i type all of that in?hit enter after each line? yea i just tryed that and it closed my interface.... so i tryed it as a .bat file and i got this error (edited the pater to program) blah blah, RUN.bat: line 9:command not found, exiting. |
Quote:
Code:
#!/bin/bash 1. Locate the "craft.jar" on the Ubuntu machine and notice the full path, 2. Change the "/path/to/" in the JAR="/path/to/craft.jar" line to the full path you use for craft.jar, 3. Run 'sudo chmod 0755 /usr/local/bin/craft.sh' to make the script executable, 4. Run "/usr/local/bin/craft.sh" and see if it starts up OK. 5. If it does not start OK post the output of running "/bin/bash -vx /usr/local/bin/craft.sh 2>&1 | tee /tmp/craft.err" (see the "/tmp/craft.err" file). |
didnt work
Quote:
|
All times are GMT -5. The time now is 02:08 PM. |