Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java on feodra  RSS feed

 
satyam mishra
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi i,m new at feodra.
can any one tell me how to run java programes in fedora???
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you try googling for it?
Did you get any results?
A search like "how to run java applications on linux" or "how to run java applications on fedora" suggests itself.
 
Victor Twomey
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use Ubuntu. I open a bash and type sudo apt-get install sun-java6-jdk sun-java6-bin sun-java6-jre
It downloads, configures etc. Then I use gedit to write a hello world java program. I save it to /home/user/Documents and use the standard javac and java commands to run the java program. I believe the procedure is similar. Make sure you are in the directory where your source file is stored before you use javac and java commands.
 
Joe Ess
Bartender
Posts: 9406
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Victor Twomey wrote:I believe the procedure is similar.


Nope. Ubuntu and Debian (among others) use APT for package management. Fedora, RHEL and associated distributions use RPM.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!