Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

GNU w/Java

Posted on 2006-04-16
4
Medium Priority
?
224 Views
Last Modified: 2013-12-13
Program:

class myfirstjavaprog
{  
        public static void main(String args[])
        {
           System.out.println("Hello World!");
        }
}

Command line:

gcc -x java jhello

Output:

gcc: installation problem, cannot exec 'jc1': No such file or directory

GES
0
Comment
Question by:GlassEyeSlim
  • 2
2 Comments
 
LVL 14

Accepted Solution

by:
hoomanv earned 200 total points
ID: 16568884
so the correct command is "GCJ -C file.java"
as mentiond here
http://gcc.gnu.org/java/compile.html
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Progress
Introduction to Processes

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question