Results 1 to 5 of 5
Like Tree2Likes
  • 2 Post By gimbal2

Thread: Java online compiler API

  1. #1
    jairoh_ is offline Member
    Join Date
    Feb 2012
    Posts
    23
    Rep Power
    0

    Default Java online compiler API

    Good day everyone. Have anyone of your tried running a java source code through an online java compiler(in which you will just pass the the source code using a http request, then the compiler will return the output/error of the source code automatically)?. I need some advice. Thanks.

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,725
    Blog Entries
    7
    Rep Power
    21

    Default Re: Java online compiler API

    How does that compiler handle 'import' statements? Does it have all referenced .java and/or .class files or does it ask for them?

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,256
    Rep Power
    6

    Default Re: Java online compiler API

    Argh, I hate it when people don't ask what they actually want to know. "I need some advice". On what, how to boil an egg?

    I assume you are actually look for a site recommendation. I don't use them myself as compiling offline is a hundred times easier and faster, but a quick Google for "java online execution" returned this as the first hit which looks alright:

    Compile and Execute Java online


    PS: add eggs when the water is still cold, put on a medium heat. Wait until the water starts to bubble and then put the timer at either 5 minutes if you want a medium-boiled egg (egg yellow is still a little runny) and 7-8 minutes if you want a hard-boiled egg. I assume medium-sized, class 1 eggs, not those cheap small things which could have only come from horribly unhealthy chickens.
    Last edited by gimbal2; 08-20-2014 at 02:48 PM.
    KevinWorkman and DarrylBurke like this.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  4. #4
    jairoh_ is offline Member
    Join Date
    Feb 2012
    Posts
    23
    Rep Power
    0

    Default Re: Java online compiler API

    @JosAH, to the first question: it could be included in the the source code being passed using a http request. To the second question: no, just the source code if possible.

    @gimbal2, i tried googling(before posting here) but i didn't get what i need. My thread content implies passing "...the source code using a http request, then the compiler will return the output/error of the source code automatically...". There's no need to view in a specific website. Btw, i know how to boil an egg, my mother taught me when i was a younger boy.

  5. #5
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,725
    Blog Entries
    7
    Rep Power
    21

    Default Re: Java online compiler API

    Quote Originally Posted by jairoh_ View Post
    @JosAH, to the first question: it could be included in the the source code being passed using a http request. To the second question: no, just the source code if possible.
    What to do then if you don't have all the sources but you do use certain .jar files? (e.g. Apache stuff).

    kind regards,

    Jo
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. Replies: 1
    Last Post: 12-20-2012, 11:01 AM
  2. Online Java compiler
    By PhoeniX in forum Advanced Java
    Replies: 23
    Last Post: 08-12-2011, 05:12 PM
  3. New Java Online Compiler And Runner
    By dbremmen in forum Java Software
    Replies: 6
    Last Post: 02-01-2011, 04:40 PM
  4. Online Java compiler code
    By grape028 in forum Advanced Java
    Replies: 1
    Last Post: 12-26-2008, 01:59 PM
  5. The best compiler for java
    By baltimore in forum New To Java
    Replies: 2
    Last Post: 08-06-2007, 06:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •