java in mandrake linux 10.0 help

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jun 2004
Posts: 609
Reputation: freesoft_2000 is an unknown quantity at this point 
Solved Threads: 8
freesoft_2000 freesoft_2000 is offline Offline
Practically a Master Poster

Re: java in mandrake linux 10.0 help

 
0
  #11
Oct 23rd, 2005
Hi everyone,

You guys mean that the -cp flag does not work in mandrake but only on windows?

Richard West
Microsoft uses "One World, One Web, One Program" as a slogan.
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond

Tell me what type of software do you like and what would you pay for it

http://www.daniweb.com/techtalkforums/thread19660.html
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 71
Reputation: Kate Albany is an unknown quantity at this point 
Solved Threads: 1
Kate Albany Kate Albany is offline Offline
Junior Poster in Training

Re: java in mandrake linux 10.0 help

 
0
  #12
Oct 23rd, 2005
Hi,

No, the -cp flag works just the same under Linux. This problem is not classpath related though.

Kate
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 2,108
Reputation: server_crash is on a distinguished road 
Solved Threads: 18
server_crash server_crash is offline Offline
Postaholic

Re: java in mandrake linux 10.0 help

 
0
  #13
Oct 23rd, 2005
Originally Posted by jwenting
If you add the -source 1.4 flag you will NOT get 1.4 compatible classfiles. All that does is flag 5.0 only features as errors in the code, effectively ensuring whether it would compile using a 1.4 compiler.
You also need to add the -target 1.4 flag.
But remember that the 1.4 target flag still doesn't change the implementation details. If you remember right, I had a similar problem where I wanted 1.4 source code written in 1.5 to work on 1.4 JRE's, but it never did. You told me to try those flags, and from there we decided that the details were still different.
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: java in mandrake linux 10.0 help

 
0
  #14
Oct 23rd, 2005
You need them both. Either on its own will not work to produce a 1.4 classfile (the target flag alone MIGHT work if you're very careful, the source flag alone certainly won't).
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC