Java Interpreter

Thread Tools Search this Thread
Top Forums Programming Java Interpreter
# 1  
Old 09-05-2010
Java Interpreter

Hello guys - do you have any sample program implementing UNIX commands in an interpreter with Java? I can look up the simple ones such "ls" etc and then write my own commands.

I would appreciate it.
# 2  
Old 09-05-2010
Weel I just did a web search for "implement ls in java" and cam back with a number of links such as
Remember Java - ls and dir.
# 3  
Old 09-06-2010

Hi - Thanks for the link. I made some research as well. Actually I implemented a program that works pretty good but some for some commands it is not properly working, perhaps not the right packages. I rather using APIs and packages instead writing each command seperately. Where I got stuck was the pipes, creating and removing files and zipping with gzip. Please let me know the best method if you;re aware. Appreciated.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Shell BASIC interpreter(s)...

I am looking for a simple BASIC Interpreter written in a shell scripting language. For me something like this would be a great learning tool... After much goggle eyed Googling I came upon this:- It is small and I haven't tried it yet as I am at work... (6 Replies)
Discussion started by: wisecracker
6 Replies

2. Linux

interpreter files

Can you explain me what is ment by interpreter files ?? Why and how they are used?? (1 Reply)
Discussion started by: kkalyan
1 Replies

3. Shell Programming and Scripting

Bad Interpreter

Hi. My name is Caleb (a.k.a RagingNinja) form the whited00r forums. (Whited00r makes custom firmware for iOS devices). I have been learning and creating simple shells scripts. I have been recently using VIM for Windows or using VirtualBox to run the UBUNTU OS within VirtualBox to create my shell... (2 Replies)
Discussion started by: RagingNinja
2 Replies

4. Solaris

Help me find Python interpreter!!!

I just started learning python on and working on sun solaries, #!/usr/bin/env python Is not recognising the intrepreter on my sun solaries could any one please help me find this. Thanks - Ann:b: (8 Replies)
Discussion started by: Haque123
8 Replies

5. UNIX for Dummies Questions & Answers

m4 as script interpreter

#!/usr/bin/m4 when running m4 scripts with "#!/usr/bin/m4" they are executed properly, but "#!/usr/bin/m4" is printed out - how to avoid it? Thanks in advance. (5 Replies)
Discussion started by: Action
5 Replies

6. UNIX for Dummies Questions & Answers

an command interpreter

if somebody can help me pls. i need the source code for a shell which compiles C or java programs. i need a very short and simple one, just for the compiling part, in UNIX Respect (4 Replies)
Discussion started by: zlatan005
4 Replies

7. Programming

When I am writing my own interpreter...

While trying out my hand at writing an interpreter, I was wondering about a a few issues one of which is the following: When I run a command such as jobs in the shell, I get a list of all the background jobs that are running... But if I need my interpreter to run that command, how would I be doing... (34 Replies)
Discussion started by: Legend986
34 Replies
Login or Register to Ask a Question

Featured Tech Videos