• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Development ToolKit.....  RSS feed

 
Sidhartha Ray
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone !
Here is the requirement : I want to develop a web application that will be used to code, compile and run java programs online(like w3schools.com, write html code and run to see the output).

Any suggestion ?
Has anybody worked on such application development ?
 
Guillaume Jourdan
Ranch Hand
Posts: 47
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

HTML is an interpreted language.

Java is not just interpreted but also compiled language.

If you want developed, compile and run java programs, I suggest you to download an IDE like Eclipse (http://www.eclipse.org/downloads/).

If you don't know object-oriented language, I recommend to start to learn fundamentals : ppt

Good luck
 
Sidhartha Ray
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Guillaume
I think you didn't get me. Actually I know java.
My requirement is like, I want to develope a web application that can be used by users to write J2SE programs, compile & run it online, means users needn't have a jdk installed on their local machine. They can simply go the site, there'll be an editor to write java code & run to see the output. Just like the site http://www.compileonline.com/
 
Guillaume Jourdan
Ranch Hand
Posts: 47
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, I think this is complicate to find a serious site who do that... it's a little dangerous.

On http://www.compileonline.com/, you see directly a big security problem of compile unknown code... If you test :

public class HelloWorld{

public static void main(String []args){
System.out.println(System.getProperty("user.dir"));
System.out.println(System.getenv());
}
}


you have :

Executing the program....
$java -classpath /tmp/134319362721054/ HelloWorld
/tmp/134319362721054
{TERM=linux, CONSOLE=/dev/console, SHLVL=4, GNUSTEP_SYSTEM_ROOT=/usr/GNUstep/System, GNUSTEP_USER_ROOT=//GNUstep, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, GNUSTEP_HOST_VENDOR=unknown, GNUSTEP_HOST_CPU=x86_64, PWD=/tmp/134319362721054, INIT_VERSION=sysvinit-2.86, GNUSTEP_LOCAL_ROOT=/usr/GNUstep/Local, GNUSTEP_IS_FLATTENED=yes, _=/usr/bin/cpulimit, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, LD_LIBRARY_PATH=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64://GNUstep/Library/Libraries:/usr/GNUstep/Local/Library/Libraries:/usr/GNUstep/System/Library/Libraries, runlevel=3, GNUSTEP_MAKEFILES=/usr/GNUstep/System/Library/Makefiles, GNUSTEP_FLATTENED=yes, SELINUX_INIT=YES, GNUSTEP_HOST=x86_64-unknown-linux-gnu, GNUSTEP_HOST_OS=linux-gnu, previous=N, GNUSTEP_NETWORK_ROOT=/usr/GNUstep/Network, CLASSPATH=//GNUstep/Tools:/usr/GNUstep/Local/Tools:/usr/GNUstep/System/Tools:/sbin:/usr/sbin:/bin:/usr/bin:/usr/share/java:/usr/share/java/scala-2.9.2:.:/usr/share/java:/usr/lib/jvm/java/lib:/usr/lib/jvm/java/jre/lib:/usr/local/bin:/usr/local/mozart/bin:/usr/local/j64-701/bin/:/usr/local/j64-701/, PATH=//GNUstep/Tools:/usr/GNUstep/Local/Tools:/usr/GNUstep/System/Tools:/sbin:/usr/sbin:/bin:/usr/bin:/usr/share/java:/usr/share/java/scala-2.9.2:.:/usr/share/java:/usr/lib/jvm/java/lib:/usr/lib/jvm/java/jre/lib:/usr/local/bin:/usr/local/mozart/bin:/usr/local/j64-701/bin/:/usr/local/j64-701/, GUILE_LOAD_PATH=//GNUstep/Library/Libraries/Guile:/usr/GNUstep/Local/Library/Libraries/Guile:/usr/GNUstep/System/Library/Libraries/Guile, RUNLEVEL=3, PREVLEVEL=N, HOME=/, INFOPATH=/usr/GNUstep/System/Library/Documentation/info::/usr/GNUstep/Local/Library/Documentation/info:://GNUstep/Library/Documentation/info:, GNUSTEP_PATHLIST=/usr/GNUstep/System:/usr/GNUstep/Network:/usr/GNUstep/Local://GNUstep, LIBRARY_COMBO=gnu-gnu-gnu, LANG=C}
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!