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!  
Who is Participating?
CEHJConnect With a Mentor Commented:
There's nothing to convert. Just compile and run it under Unix
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?
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
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

objectsConnect With a Mentor Commented:
start by building an ant script
isuhendroAuthor Commented:
Thank you!
you don't actually need to compile it at all :)


You don't need to do anything with Ant btw - NetBeans already does that, the whole environment being based on Ant
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.