nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   Software Development (http://www.nvnews.net/vbulletin/forumdisplay.php?f=53)
-   -   Java help..again (http://www.nvnews.net/vbulletin/showthread.php?t=90893)

jcrox 05-04-07 02:18 PM

Java help..again
So this week I get: create a compile.bat file to compile and run your java packages...yeah right. No one in this "Intro" class has any clue as what to what the command line should be and our wonderful instructor is about as available as Jimmy Hoffa.

Heres my directory:





here are my directions:

Navigate to your src directory
From the projects directory compile the sample application with the compile.bat file with the following line:
"compile java111/project5/PackageExercise.java"
Run the application from the projects directory with this command:
"runjava java111.project5.PackageExercise"

I understand that I need to create a command line in jEdit and save it as a .bat file and then open the command prompt window and "cd c:\projects\src" but I have no clue as how to construct the compile.bat as to perform those actions.

Our instructor is most definitely very knowledgeable when it comes to java, he unfortunately doesn't seem to understand none of us in this class have any idea how this stuff works...thus we're paying for this class!!!

Any help would be much appreciated.

jcrox 05-04-07 03:11 PM

Re: Java help..again
I got it :)

javac -classpath classes;lib/matcutils.jar -d classes src\%1

alanro 05-30-07 10:23 AM

Re: Java help..again
You can find all about javac command line here

good luck.

All times are GMT -5. The time now is 09:20 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.