Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

convert .java to .c


7 replies to this topic

#1 Guest_mortalmatt_*

  • Guests

Posted 03 January 2005 - 08:16 AM

hey, do any of you programmers know how to do this with a program? i am not as proficient in c as i am in java.

#2 Guest_bagpiper_*

  • Guests

Posted 11 January 2005 - 02:50 PM

hi friend,

i really dont think, there is any ready made program to do this. looks like a good project to try on.

baggy..

#3 Guest_aflm_*

  • Guests

Posted 15 January 2005 - 07:27 AM

yes can convert java to c (creating c code emulator to java) is java working on c base code you can find in www.planet-source-code.com

#4 Guest_aflm_*

  • Guests

Posted 15 January 2005 - 07:39 AM

and yes you canīt contacto to my : aflm@vtr.net

#5 Guest_wangsoft_*

  • Guests

Posted 16 January 2005 - 06:35 AM

im pretty sure i've seen things that do this before... have you actually tried looking for one because it shouldn't be too hard to convert simple programs seeing as how java and c at syntaxically very similar.. but if you get one to work with complex programs you will very likely become rich. a lot of java programmers would enjoy the performance gains from c without having to learn c or recode anything

#6 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 01 August 2008 - 10:06 PM

Replying to mortalmatt
Gcj can do this. I'm not sure if there's a windows version, though... On the other hand I'm fairly sure that even if you're running it on a linux machine you can have it compile into windows format.

-reply by Oliver

#7 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 09 October 2009 - 08:52 PM

convertconvert .java to .c

 class overloadDemo{Void test(){System.Out.Println("No parameter");}Void test(inta,intb){System.Out.Println("a and b:"+a+" "+b);}Void test(double a){System.Out.Println("Inside test(double) a:" +a);}}Class overload{Public static void main(String args[]){OverloadDemo ob=new overloadDemo();Int I=88;Ob.Test();Ob.Test(10,20);Ob.Test(I);Ob.Test(123.2);}}

-reply by ankit

#8 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 12 February 2010 - 11:33 AM

I could suggest a tool called JCGO (http://www.Ivmaisoft.Com/jcgo/) which is a Java source to C translator.

-reply by ivmai




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users