0

Is there any java code, which opens up a new terminal in Ubuntu when compiled and run in a compiler ?

Actually, I need to open a terminal from a browser, like when I click on a button from a website then a terminal should be open in my computer system and the operating system would be Ubuntu.

  • Offcourse there is. – An0n Feb 11 at 19:07
  • Would you please provide me a sample of that program so that I can implement in my project works. – Manthan Feb 11 at 19:35
  • @An0n Might be, but could be a bit difficult because browsers are usually not allowed to run arbitrary exes on client machines. I would be really, really upset if my browser would run some malicious commands on my PC. – PerlDuck Feb 11 at 19:58
  • Thats why i don't gonna post it here. I recommend you to create a downloadable file. Maybe if you show me what you got so far i can give you some more tips. – An0n Feb 11 at 22:11
  • I have done far now I am stuck in the function, how to go to the terminal path and open when button is clicked. (drive.google.com/file/d/1E3G2rOn3TMv0kyIfIEEKsL6J6GX7cUvM/…) – Manthan Feb 12 at 16:59

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.