login to unix using java


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users login to unix using java
# 1  
Old 05-18-2008
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  
Old 05-18-2008
I'm guessing you want to telnet in to the UNIX box - a telnet class will do that.
This is not terribly secure. There are several of them out on the net, I cannot vouch for how well they work.

Because we chose:

A better choice would be to create a share on the UNIX box using samba, requiring authentication. Then the local Windows box can mount/dismount the share.
# 3  
Old 05-18-2008
Couldn't you use ssh / scp from Java as well?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Remote login UNIX box from java passing parameters to the custom script called in the profile

Hello Good Day / Guten Tag.... I have to login the server and the user profile contains some scripts which need the inputs to be taken from the keyboard. So I use the method to conn.authenticateWithKeyboardInteractive(username, new InteractiveCallback() { public String... (1 Reply)
Discussion started by: Sanalkumaran
1 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. 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

4. 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

5. Solaris

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... (1 Reply)
Discussion started by: akash_wish
1 Replies

6. 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

7. Solaris

I am not able to login in gnome session and java session in Sun solaris 9& 10

I am not able to login in gnome session and java session in Sun solaris 9& 10 respectively through xmanager as a nis user, I am able to login in common desktop , but gnome session its not allowing , when I have given login credentials, its coming back to login screen, what shoul I do to allow nis... (0 Replies)
Discussion started by: durgaprasadr13
0 Replies

8. Programming

UNIX Java Compiler on Windows

At work we use HP-UX B.11.11 U (garnished from uname -a), but they have not installed a development environment for java. There is, however, a runtime environment set up. I've been attempting to overcome the beauracracy of getting a jdk installed, but we all know how nearly impossible that can be.... (4 Replies)
Discussion started by: nwboy74
4 Replies

9. UNIX for Dummies Questions & Answers

How to set path for java in UNIX

How to set path for java in UNIX? (2 Replies)
Discussion started by: subhotech
2 Replies

10. 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
Login or Register to Ask a Question