Java Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJava Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old September 14th, 2007, 04:00 AM
sasuhaib sasuhaib is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2007
Posts: 1 sasuhaib User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 33 sec
Reputation Power: 0
Linux java pkg. source compilation

Hi,

I'm trying to compile a source package using JDK1.5. I've source files in /home/bms/app/src having package like com.beans, com.db, com.util etc.

Also I have required jar files in /home/bms/app/lib.

My compile.sh file contains:

--------------------------------------------
PATH=$PATH:/usr/local/jdk1.5.0_11/bin
JAVA_HOME=/usr/local/jdk1.5.0_11
export IMLIB=/home/bms/app/lib

javac -sourcepath /home/bms/app/src -classpath .:$IMLIB/jdom.jar:$IMLIB/xercesImpl.jar:$IMLIB/xmlParserAPIs.jar -d /home/bms/app/classes
--------------------------------------------

Can you pls guide me what I'm doing wrong here. How to compile the whole source files package using javac.

Regards,
Suhaib.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJava Development > Linux java pkg. source compilation


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT