<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'compiling java on linux system' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'compiling java on linux system' posted on the 'LINUX programming' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2012 Programmers Heaven</copyright>
    <pubDate>Wed, 23 May 2012 06:17:17 -0700</pubDate>
    <lastBuildDate>Wed, 23 May 2012 06:17:17 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>compiling java on linux system</title>
      <link>http://www.programmersheaven.com/mb/Linux/327278/327278/compiling-java-on-linux-system/</link>
      <description>how to compile java program using gcc(or any other command).&lt;br /&gt;
I tried gcc -x java filename &lt;br /&gt;
but it didn't work&lt;br /&gt;
please help me out.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Linux/327278/327278/compiling-java-on-linux-system/</guid>
      <pubDate>Mon, 23 Jan 2006 02:47:28 -0700</pubDate>
      <category>LINUX programming</category>
    </item>
    <item>
      <title>Re: compiling java on linux system</title>
      <link>http://www.programmersheaven.com/mb/Linux/327278/328322/re-compiling-java-on-linux-system/#328322</link>
      <description>Hello Dear,&lt;br /&gt;
&lt;br /&gt;
Have you installed gcj package for GCC.GCC is a generic front end to compiling High level languages.the core language support instllation should also be done.&lt;br /&gt;
&lt;br /&gt;
do the following things.&lt;br /&gt;
&lt;br /&gt;
1.Make sure that the gcj package is installed on your system.&lt;br /&gt;
2.Create a simple hello world code in java.&lt;br /&gt;
3.compile it using gcj -C filename.java&lt;br /&gt;
&lt;br /&gt;
 It will generate the class file with ame filename.class&lt;br /&gt;
&lt;br /&gt;
4.Run it using gij filename ( note that do not give .class/.java extension while running from gij it will pick itself up)&lt;br /&gt;
&lt;br /&gt;
should solve your problem&lt;br /&gt;
&lt;br /&gt;
: how to compile java program using gcc(or any other command).&lt;br /&gt;
: I tried gcc -x java filename &lt;br /&gt;
: but it didn't work&lt;br /&gt;
: please help me out.&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Linux/327278/328322/re-compiling-java-on-linux-system/#328322</guid>
      <pubDate>Thu, 02 Feb 2006 03:12:59 -0700</pubDate>
      <category>LINUX programming</category>
    </item>
    <item>
      <title>Re: compiling java on linux system</title>
      <link>http://www.programmersheaven.com/mb/Linux/327278/329335/re-compiling-java-on-linux-system/#329335</link>
      <description>: how to compile java program using gcc(or any other command).&lt;br /&gt;
: I tried gcc -x java filename &lt;br /&gt;
: but it didn't work&lt;br /&gt;
: please help me out.&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
The same javac and java commands should work as used in jdk.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Linux/327278/329335/re-compiling-java-on-linux-system/#329335</guid>
      <pubDate>Tue, 14 Feb 2006 00:14:11 -0700</pubDate>
      <category>LINUX programming</category>
    </item>
  </channel>
</rss>
