Results 1 to 3 of 3
- 01-16-2011, 06:42 PM #1
Member
- Join Date
- Jan 2011
- Posts
- 1
- Rep Power
- 0
Java command line Windows vs Linux
okay so i made a batch file on my windows xp for testing purposes when i made myself a java program
Java Code:@echo off title Source 474 java -Xmx1200m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.08-ga-bin.jar server
now i want to host the server on my linux machine
how would i convert this DOS to linux
to be more specific, Ubuntu Server 10.10
now i installed JDK, JRE, and i have a mysql server running on my Linux
so im pretty sure i meet all the prerequisites
now im having problems with the linux shell script so far i have
Java Code:#!bash/bin/ java -Xmx1200m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.08-ga-bin.jar server sleep
- 01-16-2011, 06:52 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 14,422
- Blog Entries
- 7
- Rep Power
- 28
- 01-16-2011, 06:52 PM #3
Senior Member
- Join Date
- Mar 2010
- Posts
- 952
- Rep Power
- 10
You want
Java Code:#!/bin/bash
Java Code:[COLOR="Red"]#!bash/bin/ [/COLOR]
-Gary-
Similar Threads
-
Connecting to linux web server and performing command line operations with Java
By Jojomofoman in forum New To JavaReplies: 3Last Post: 01-12-2011, 12:45 AM -
"Could not find the main class" for Linux Command Line Compile
By tetelee in forum New To JavaReplies: 3Last Post: 08-25-2010, 11:21 AM -
Formatting java command line output - Multi line string
By dricco in forum New To JavaReplies: 2Last Post: 07-02-2010, 03:20 PM -
javac on the Windows command line--whitespace in path name?
By mslate in forum New To JavaReplies: 2Last Post: 03-31-2010, 01:26 AM -
calling linux command line in java
By fangzhong in forum New To JavaReplies: 0Last Post: 02-03-2008, 05:24 PM
Bookmarks