LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-10-2013, 04:03 PM   #1
pras.prag@gmail.com
LQ Newbie
 
Registered: Jun 2013
Posts: 3

Rep: Reputation: Disabled
how to implement java code on PuTTY on a windows computer?


I'm using BioHPC, a Linux server- bash, on a windows computer via PuTTY. I want to know how to get a java compiler so I can run the program on PuTTY. Using eclipse as my Java IDE.
How do I download a java compiler for linux and use it in putty on my windows computer?

Thanks for your time!
 
Old 06-11-2013, 10:20 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,284

Rep: Reputation: 6529Reputation: 6529Reputation: 6529Reputation: 6529Reputation: 6529Reputation: 6529Reputation: 6529Reputation: 6529Reputation: 6529Reputation: 6529Reputation: 6529
Quote:
Originally Posted by pras.prag@gmail.com View Post
I'm using BioHPC, a Linux server- bash, on a windows computer via PuTTY. I want to know how to get a java compiler so I can run the program on PuTTY. Using eclipse as my Java IDE.
How do I download a java compiler for linux and use it in putty on my windows computer?

Thanks for your time!
You probably already HAVE Java installed on your Linux system. Try typing in "java --version", and see what you get. And be aware that you don't load ANY program on PuTTY..it's a terminal emulator, nothing more. You use it to CONNECT to other machines, and the programs run THERE. There are many easily-found documents about compiling Java on Linux, and Google can show them to you:
http://introcs.cs.princeton.edu/java/linux/
http://www.yolinux.com/TUTORIALS/LinuxTutorialJava.html
http://introcs.cs.princeton.edu/java...linux-cmd.html
http://www.daniweb.com/software-deve...-java-in-linux
 
Old 06-11-2013, 11:04 AM   #3
pras.prag@gmail.com
LQ Newbie
 
Registered: Jun 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks TB0ne!

my problem now is that putty doesnt recognize the javac command, though it has the java command. what do I do to get the java compiler to work on putty??
 
Old 06-11-2013, 11:08 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,284

Rep: Reputation: 6529Reputation: 6529Reputation: 6529Reputation: 6529Reputation: 6529Reputation: 6529Reputation: 6529Reputation: 6529Reputation: 6529Reputation: 6529Reputation: 6529
Quote:
Originally Posted by pras.prag@gmail.com View Post
Thanks TB0ne!
my problem now is that putty doesnt recognize the javac command, though it has the java command. what do I do to get the java compiler to work on putty??
Again...putty is a terminal emulator...NOTHING RUNS ON IT. What happens when you type in "javac --version"? Can you run "find / -name javac", and see if it finds anything? And what version/distro of Linux are you using?
 
Old 06-11-2013, 11:16 AM   #5
pras.prag@gmail.com
LQ Newbie
 
Registered: Jun 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
"comand not found"
got lots of permission denied
red hat
 
Old 06-11-2013, 11:33 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,284

Rep: Reputation: 6529Reputation: 6529Reputation: 6529Reputation: 6529Reputation: 6529Reputation: 6529Reputation: 6529Reputation: 6529Reputation: 6529Reputation: 6529Reputation: 6529
Quote:
Originally Posted by pras.prag@gmail.com View Post
"comand not found"
...which may mean it's not in your path...
Quote:
got lots of permission denied
...which means you didn't run it as root, but more importantly, did the command FIND anything???
Quote:
red hat
...which tells us very little. Which version of Red Hat?? And since you're (probably), using Red Hat ENTERPRISE, are you PAYING for it?? If not, you shouldn't be using it, but using CentOS instead. If you are paying, Red Hat support can assist you, and there are numerous articles in their knowledgebase which can tell you what to do:
https://access.redhat.com/site/docum..._jdk_rhel.html
https://access.redhat.com/site/docum...e/ch01s04.html
https://access.redhat.com/site/docum...vironment.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to code/implement the Linux windows keyboard shortcuts in all distros? Vexe Programming 7 02-07-2013 06:57 PM
How to code/implement the Linux windows keyboard shortcuts in all distros? Vexe Linux - Newbie 2 02-07-2013 12:53 PM
Java code to implement "wget" to save a web page in linux Kakarot_Rathish Programming 5 03-08-2010 03:02 AM
howto display the cde or the java desktop in windows using putty or cygwin. mariogarcia Solaris / OpenSolaris 8 06-23-2008 05:55 PM
Java, code compiles and supposedly runs fine in windows, but not linux exodist Programming 4 03-16-2004 01:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration