Sponsored Content
Top Forums Shell Programming and Scripting Run the scripts from windows to UNIX Post 67888 by srinivas peyyal on Tuesday 29th of March 2005 07:11:32 AM
Old 03-29-2005
Quote:
Originally Posted by bhargav
Write a script having export PATH,CLASSPATH (having jars used in java program) , JAVA_HOME ... etc in a file
and run it .....

First try on the command line and put those in shell script.

Is this what you want ...

Code:
export PATH=$PATH:remaining path
export CLASSPATH=$CLASSPATH:remaing jars path

java javaprogram


Hi bhargav,

no. I have one jsp which is there in the WAR. I want to deploy the war at windows OS. In jsp, calling one shell script file. Shell script file is there in UNIX OS. First, i need to connect UNIX server, then i need to run the shell script file. Then output will be stored in another file. I want to get the ouput in another JSP. I want this. Do u have any idea on this. If yes, please guide me how to do .

Thanx,

Srinivas
 

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

How do you run Unix on top of Windows?

Okay, so here's my dealio. I have a (rather old) system that runs Windows 98 Second Edition. What i wanna do is be able to run Unix from it. My question is, how do you do that? A friend told me that when you boot up, the computer will ask you which OS you want to run. I'm really not quite clear on... (3 Replies)
Discussion started by: DarkAngel
3 Replies

2. UNIX for Advanced & Expert Users

Porting of Windows written unix scripts to unix platform

Can anybody help me in finding out a solution for the problem below? When we write .unix or .sh files in windows OS and port them to Unix platforms there is a character ^M inserted at the end of each line of the script file. During ftp porting I set the transfer mode as ASCII for the script... (7 Replies)
Discussion started by: tamilselvi
7 Replies

3. Shell Programming and Scripting

FTP Shell Scripts from Windows to Unix: files have exotic characters

Hey guys, I am working on my shell scripts in wordpad in windows. Then, I upload it to my unix using psftp, but when I open those files with "vi" in Unix, there are all these "^M" characters in the file. Would anyone of you have a clue as to why? Help would be appreciated. Thanks, Laud (4 Replies)
Discussion started by: Laud12345
4 Replies

4. Linux

Possible ways to run shell scripts on Windows

Hi all, I want to know possible ways to exceute the shell scripts on Windows environment. Please help me. Regards, Uday. (2 Replies)
Discussion started by: uday123
2 Replies

5. UNIX for Dummies Questions & Answers

How can I run scripts in my unix account from batch file in Windows?

Hi all, I'm working on Windows, connecting to my Unix account by different ways: by FTP opening files in UltraEdit32, by mapping drive to browse, by Exceed or Telnet to compile at Unix account. Actually, that is what I would like to change: I'd like to make a batch file which would connect to... (7 Replies)
Discussion started by: olgafb
7 Replies

6. UNIX for Dummies Questions & Answers

Can I run unix in the same partition with windows?

Can I run unix in the same partition with windows xp? Because I have one for now.. Thank you for answers. (2 Replies)
Discussion started by: olddays
2 Replies

7. Windows & DOS: Issues & Discussions

Windows services for unix - How do I run in batch

I just installed Windows Services for Unix. I want to create a ksh program and schedule it using the Windows scheduler. How would I go about doing it? What would the command line look like? Do I always have to be in a ksh shell to run the batch program even if it is not scheduled? ... (3 Replies)
Discussion started by: rbdenham
3 Replies

8. UNIX for Dummies Questions & Answers

How to run UNIX commands for practice in Windows 2000 OS?

How to run UNIX commands for practice in Windows 2000 OS? If you suggest to install Cygwin, please let me know the procedure to install, or else I feel happy if you suggest any stand alone app for running UNIX commands..:) (2 Replies)
Discussion started by: Srikanthk
2 Replies

9. Shell Programming and Scripting

run oracle procedure in unix scripts

for j in $(du -h $1| awk '{printf("%100-s \n",$2)}') do for a in $(ls -time $(find $j -name '*.txt') | awk '{printf("\n%s %s %s %s %s",$4,$7,$8,$10,$11)}') do echo "$a">output.txt done done exit 0 echo "Password : xxxxxx " > LOG/BGH_$3.out (0 Replies)
Discussion started by: utoptas
0 Replies

10. UNIX for Dummies Questions & Answers

How to run UNIX commands on remote machine from windows?

Hi All, I am working in support and we are planning to automate a system to reduce the direct manual intervention to core system. Please find the below details. 1. we have a web application that runs on Windows Platform. 2. From web application, we need to connect to remote Unix machine.... (6 Replies)
Discussion started by: Balaji K
6 Replies
SIMPLYHTML(1)						      General Commands Manual						     SIMPLYHTML(1)

NAME
simplyhtml -- A Java editor based on HTML and CSS. SYNOPSIS
simplyhtml [no_options] DESCRIPTION
This manual page documents briefly the simplyhtml command. This manual page was written for the Debian distribution because the original program does not have a manual page. Instead, it has online documentation (see Help menu in SimplyHTML). Project Description With project SimplyHTML an application is built for working with text documents. Text documents are stored in HTML and CSS format, but the application is meant as a word processor rather than a code editor or web site builder. Open to the maximum SimplyHTML is built with the aim to document as much of its functionality and usage as possible. The application is written in Java and distributed with full source codes. By using Java, HTML, CSS and PDF all parts of the project are 100% platform independent and can be used on almost any machine. Extensive documentation Source codes are commented in Javadoc format and additional inline comments. The sources are created with good legibility and structure in mind. In addition, an extensive tutorial is delivered covering both usage of the application and its internals. The tutorial is available in JavaHelp format and can be used as online help out of SimplyHTML. Or it can be read with a plain web browser. A PDF version of the tutorial is avalable too. Why another HTML editor? SimplyHTML is not an HTML editor in first place. It is a text processing application being based on HTML and CSS files. Although it has a simple HTML editor built in as well, the application focuses on text processing rather than web page creation. SimplyHTML tries to distinguish from comparable applications by combining simplicity, ease of use and transparency for both users and developers. OPTIONS
This program does not have any option. Just start it! ENVIRONMENT VARIABLES
DEBUG If this environment variable is set, SimplyHTML gives more information on how it finds its different elements, as well as some other information. JAVACMD Default value for the java virtual machine (the java command). JAVA_BINDIR If $JAVACMD is not set, the java virtual machine is searched under $JAVA_BINDIR/java. JAVA_HOME If $JAVACMD and $JAVA_BINDIR are not set, the java virtual machine is searched under $JAVA_HOME/bin/java. PATH If all $JAVA... environment variables fail, the java virtual machine command (java) is searched in the $PATH (with which). CLASSPATH ADD_JARS The $CLASSPATH variable also lets one specify additional jars, which is good, if you want to add a new Look&Feel jar (the motif one is so ugly...). Alternatively, the content of $ADD_JARS will be prepended to $CLASSPATH. FILES
/usr/bin/java If all searches through environment variables fail, the java virtual machine is expected to be /usr/bin/java; if not, simplyhtml exits with an error. SEE ALSO
The online documentation under http://simplyhtml.sf.net/, especially the Linux related one under the Wiki page link http://simply- html.sourceforge.net/wiki/index.php/SimplyHTML_on_Linux. AUTHOR
This manual page was written by Eric Lavarde deb@zorglub.s.bawue.de for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version pub- lished by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. SIMPLYHTML(1)
All times are GMT -4. The time now is 09:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy