Results 1 to 9 of 9
Thread: .BAT File problem
- 08-02-2010, 03:50 PM #1
Member
- Join Date
- Jul 2010
- Posts
- 9
- Rep Power
- 0
.BAT File problem
Hi, When i try to start up a a .bat file, in this case with the code:
@echo off
title WE NEED TO BE #1 AGAIN SO PLEASE VOTE!
javaw -Xmx300m Jframe 10 0 highmem members 32
pause
it just says: Press any key to continue.
Now, I dont know what the problem is.
I dont even know if it had something to do with java.
Please help me?
I will answer as soon as i can.
- 08-02-2010, 05:04 PM #2
try using the java command instead to see if you get a different error message.
Copy and paste the contents of the command prompt window here.
To copy the contents of the command prompt window:
Click on Icon in upper left corner
Select Edit
Select 'Select All' - The selection will show
Click in upper left again
Select Edit and click 'Copy'
Paste here.
- 08-02-2010, 05:06 PM #3
Senior Member
- Join Date
- Apr 2010
- Location
- Belgrade, Serbia
- Posts
- 278
- Rep Power
- 4
Purpose of using files with extension bat is to write in that file what you want to write for example in your command line manually over and over again.
Are those commands are proper commands in your command line?Java Code:@echo off title WE NEED TO BE #1 AGAIN SO PLEASE VOTE! javaw -Xmx300m Jframe 10 0 highmem members 32 pause
- 08-02-2010, 08:42 PM #4
Member
- Join Date
- Jul 2010
- Posts
- 9
- Rep Power
- 0
- 08-02-2010, 08:49 PM #5
Can you post the contents of the screen here?
- 08-02-2010, 09:11 PM #6
Senior Member
- Join Date
- Apr 2010
- Location
- Belgrade, Serbia
- Posts
- 278
- Rep Power
- 4
I think that that things are arguments of command line. Do you have that program. If you have please check in main function does it have same arguments, and correct arguments.Java Code:javaw -Xmx300m Jframe 10 0 highmem members 32
public static void main (String[] args)
- 08-02-2010, 09:41 PM #7
Member
- Join Date
- Jul 2010
- Posts
- 9
- Rep Power
- 0
Norm, I dont actually now what you mean,
and it might help if i add that like two days ago, it started up normally.
and i understand cselic even less. :O
but can it be that its not my computer, but that the server is offline? (It's like a private server for runescape)
- 08-02-2010, 10:09 PM #8
Are you changing subjects now?
You posted a problem with executing a batch file.
Now you talk about a server.
What does a server have to do with the batch file not working?
Please start over and completely explain the problem. Include the contents of the command prompt screen when you run the batch file.
Open a command prompt screen, change folders to the folder with the batch file and enter the name of the batch file so it will display as it executes on the screen.
- 08-03-2010, 01:26 AM #9
Similar Threads
-
jar file problem
By abhijit in forum New To JavaReplies: 12Last Post: 02-12-2010, 09:06 AM -
Jar File Problem
By Moncleared in forum New To JavaReplies: 10Last Post: 10-18-2009, 07:43 AM -
jar file problem
By nishant.4545 in forum New To JavaReplies: 1Last Post: 07-03-2009, 08:36 PM -
problem - using a jar file
By jon80 in forum New To JavaReplies: 6Last Post: 07-07-2008, 07:49 AM -
problem with jar file pls help
By jinu5 in forum New To JavaReplies: 0Last Post: 08-15-2007, 10:41 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks