• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to integrate?  RSS feed

 
Dhivya rajagopal
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi, I got 1 project.It contains class files,html file,gif file,java file. It doesn't have any jar file.how to integrate all these for executing the project?
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That depends on what kind of project it is (a Java desktop application? an applet? a web application?) and on how you want to organize it yourself. If it's a Java desktop application, you could put everything inside a JAR file, for example.
 
Swastik Dey
Rancher
Posts: 1815
15
Android Eclipse IDE Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As it looks to be web project, and considering eclipse to be your ide. The java files should go under java resources and other files like html,gif etc should go under web content.
 
Dhivya rajagopal
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Its a servlet project. internet banking(online project).how to create web content folder?

I created 1 desktop application , i created jar file by clicking build button.(i used netbeans). after that jar file has been created in the specific path. if i double the jar file, it shows the following error

"A java exception has occurred"

can you please tell me how to resolve ? and also how to integrate?
 
Swastik Dey
Rancher
Posts: 1815
15
Android Eclipse IDE Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First mistake what you are doing is you need to select web project not desktop application.
 
Swastik Dey
Rancher
Posts: 1815
15
Android Eclipse IDE Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In net beans if you select a web project you should get a folder called Web Pages, the html, gifs etc should go to this folder, and java files should go to Source packages. Once integrated and configured, you need to right click on the project and run.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!