Avatar of jiiins2
jiiins2

asked on 

Help with Java project - beginner

I would like to create a simple application in Java that takes some input from the user (via GUI), establishes a ssh session and launches Firefox Portable. The ssh session should be terminated when FireFox is closed.

I noticed that the TOR Browser Bundle (https://www.torproject.org/projects/torbrowser-details.html.en#build) does something quite similar.

I have some experience in VB.NET and can read through Java code, but I've never built an application myself. So what is the best way to structure this application? Or, where should I start?

Thanks
Jay
Java

Avatar of undefined
Last Comment
Mick Barry
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

http://www.jcraft.com/jsch/ should get you started
Avatar of Mick Barry
Mick Barry
Flag of Australia image

you'll have issues implementing that as a Java application as it will not know when ff has been closed.
Might be simpler to implement it as a java applet, that way you can embed it in a html page and load that page with ff

http://download.oracle.com/javase/tutorial/deployment/applet/getStarted.html
Avatar of jiiins2
jiiins2

ASKER

Thanks. But what about the link with FireFox?
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Java
Java

Java is a platform-independent, object-oriented programming language and run-time environment, designed to have as few implementation dependencies as possible such that developers can write one set of code across all platforms using libraries. Most devices will not run Java natively, and require a run-time component to be installed in order to execute a Java program.

102K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo