943,584 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 4474
  • Java RSS
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Oct 23rd, 2005
0

Re: java in mandrake linux 10.0 help

Hi everyone,

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

Richard West
Reputation Points: 25
Solved Threads: 10
Practically a Master Poster
freesoft_2000 is offline Offline
623 posts
since Jun 2004
Oct 23rd, 2005
0

Re: java in mandrake linux 10.0 help

Hi,

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

Kate
Reputation Points: 10
Solved Threads: 1
Junior Poster in Training
Kate Albany is offline Offline
71 posts
since Jun 2005
Oct 23rd, 2005
0

Re: java in mandrake linux 10.0 help

Quote 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.
Reputation Points: 113
Solved Threads: 19
Postaholic
server_crash is offline Offline
2,108 posts
since Jun 2004
Oct 23rd, 2005
0

Re: java in mandrake linux 10.0 help

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).
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Vote for JavaMail To Be Part J2SE
Next Thread in Java Forum Timeline: cpu scheduler in java problem





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC