Visit Our UNIX and Linux User Community


Java with Unix


 
Thread Tools Search this Thread
Operating Systems Solaris Java with Unix
# 1  
Old 07-27-2009
Java with Unix

Hello Everyone,

I had a question which i would like to put over here.
I am on the track understanding and learning about Solaris
I have been learning for the past 3 months and at this stage i have realized to really master Unix, we can`t keep a blind eye to programming language.

I wish to learn a programming language to aid my learning.
However, this thread is not in regards to "which" PL fits best with Solaris.

I would appreciate if anyone can help me to know how much it would help if i learn Java in terms to use it with administering work in Solaris 10

I chose Java because I have some basic knowledge about it,and so i assume learning it would not be very slow

I believe C would be the best, but somehow I never have dealt with ever,besides i would have to start it from basic (i know nothing about it)
which would arrest my pace of learning in the Solaris domain.

So friends please share with me, how far would it help me if i chose Java over C in terms to looking for a career in Unix Administration.

Thanks for the patient reading

Regards
Akash
# 2  
Old 07-27-2009
Probably the best languages to administer any UNIX would be script languages: ksh/bash, Perl, awk, sed, Python. High Level languages like C are nice for anything interacting with the hardware (if there isn't already a tool for it). Java, on the other hand, is, in my opinion, too far removed from the OS to be useful for system administration.

Previous Thread | Next Thread
Test Your Knowledge in Computers #425
Difficulty: Medium
C# 1.0 was first released in December 2002.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

running unix command from java

Hi All, I have been struggling for a week trying to run a unix command from my java program. the unix command is: ssh dmdev3@tsapid01-zt3d01 ':> /t3/envs/dmdev3/test/file_list.txt' when i try to run this command directly on my unix console, it works perfectly. but when i try it form... (12 Replies)
Discussion started by: madhu_sharan
12 Replies

2. Programming

Need best forum site for java (as for unix its unix.com)

Hi All, Can anyone help me for knowing the java best side forums. where i will get a quick responce like here , as i am having lot of question. Thanks (1 Reply)
Discussion started by: aish11
1 Replies

3. UNIX for Dummies Questions & Answers

How to specify Java System Properties in UNIX?

I am setting up Kerberos authentication and this is one of the steps: 1. Open the JBoss startup script. 2. Add the following Java System Properties -Djava.security.krb5.conf=/disk01/kerb/krb5.conf -Djavax.security.auth.useSubjectCredsOnly=false I added these 2 lines and it works in a... (0 Replies)
Discussion started by: shoefiend
0 Replies

4. Programming

Run Unix commands from Java

Greeings all Im trying to excute a command from Java and direct the output to the main output screen or to another file .... can you please help with this ? can I use filewriter for this ? Here is my code.... import java.io.BufferedReader; import java.io.File; import java.io.FileWriter;... (3 Replies)
Discussion started by: yahyaaa
3 Replies

5. Programming

Java can call C under Unix?

Under windows environment,I can compile C code into dll,then I can use Java to call this dll. I want to know whether Java can call C under Unix environment? How to do it? Where can I get example Java and C code? Thanks (1 Reply)
Discussion started by: konvalo
1 Replies

6. Programming

Upgrading Java 1.4.1 to 1.4.2 in UNIX

Hi, I have got java 1.4.1 in my unix server, i wish to upgrade it to 1.4.2 version. I know how to do that in Windows, but it is the first time i am doing it in UNIX. Please tell me how to do it from command line? Are there any environment variable to be set in unix as in windows? Thanks in... (0 Replies)
Discussion started by: macmohanin
0 Replies

7. Shell Programming and Scripting

Return value from UNIX to JAVA

Hi all, is there any way to return value from UNIX to JAVA application. I have my source code like this: application.java Runtime runtime = Runtime.getRuntime(); Process p = runtime.exec(myscript); myscript.sh text="Hello World" echo $text How to return the "Hello World"... (3 Replies)
Discussion started by: suigion
3 Replies

8. UNIX for Advanced & Expert Users

login to unix using java

Hey..i need some assistance to login to unix using a java application. The point is, i need to read a particular file in unix using a java application on windows. (2 Replies)
Discussion started by: dowell
2 Replies

9. UNIX for Advanced & Expert Users

java on unix

hi java packages or libraries which are being used on windows will they successfully run on unix environment. import com.jscape.inet.smtp.*; Import com.jscape.inet.email.*; these are the two packages which i want to use. (1 Reply)
Discussion started by: parmeet
1 Replies

10. Shell Programming and Scripting

execute command unix with java:possible or not?

hi everybody, i have a small unix script and i want to use it with java, so how can i executte unix command with java (if it is possible): in fact i want to use some values returned by this script with java swings. is it possible (of course everything is possible) but how can i do? thank you in... (4 Replies)
Discussion started by: mips
4 Replies

Featured Tech Videos