2

If I have a Java web project on github, is it possible to create a github page from the source files? Something like this (How is posible add several javascript libraries to main html?).

6
  • 1
    Github page can only host static web-site. So you can't set up a servlet container like Tomcat, Jetty or Glassfish. Maybe you can use java applet in a github page... (but applet are evils). What technologies do you use ?
    – NiziL
    Jul 1, 2014 at 14:45
  • Its not a good idea to compare apples and oranges, or in this case a compiled language such as Java and an interpreted language such as Javascript. You could deploy your application on a Java-enabled cloud service such as Google Apps or Openshift if you can't setup your own server environment as suggested.
    – Gimby
    Jul 1, 2014 at 14:47
  • 1
    This question appears to be off-topic because it is about how to use GitHub. Jul 1, 2014 at 16:40
  • I use AngularJs + Spring MVC + MongoDB Jul 1, 2014 at 17:43
  • @fredyjimenezrendon, so... is this a Java application or a JavaScript application? Those two things are entirely unrelated.
    – Chris
    Jul 1, 2014 at 19:01

1 Answer 1

3

You can't run your Java application on GitHub. For this purpose you need an application server, for example Tomcat, Glassfish, or Wildfly. Github gives you the opportunity to show only HTML pages with JavaScript.

1
  • there are a cloud service to deploy a java app in github? Feb 25, 2016 at 12:56

Not the answer you're looking for? Browse other questions tagged or ask your own question.