[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 373
  • Last Modified:

Convert NetBean project to UNIX compliance compilation and execution

Dear experts,

I have a working normal Java project, developed using NetBean in Windows. This project has many packages and classes
I would like to convert the compilation & execution using command line (not using NetBeans) so that it could be compiled and run in UNIX.
Could you please advice, where shall i start, the simple the better? Any sample?
Thanks in advance!  
0
isuhendro
Asked:
isuhendro
  • 3
  • 2
  • 2
2 Solutions
 
CEHJCommented:
There's nothing to convert. Just compile and run it under Unix
0
 
isuhendroAuthor Commented:
hi CEHJ, thank you for your comment. Do you meant to compile each Java source code individually into class file? Is there normal practice to do it in UNIX to avoid tedious process since the Java sources code are in multiple directories / packages?
0
 
CEHJCommented:
Well if you want the source as well, you'll need to copy it over to the Unix platform. You'll find everything under <HOME>/NetBeansProjects
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
objectsCommented:
start by building an ant script
http://ant.apache.org/
0
 
isuhendroAuthor Commented:
Thank you!
0
 
objectsCommented:
you don't actually need to compile it at all :)

0
 
CEHJCommented:
:-)

You don't need to do anything with Ant btw - NetBeans already does that, the whole environment being based on Ant
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now