in reply to permutations and combinations - too many java class paths!

That seems the long way around the block: Why not
  1. dump all the jars to get a list of classes and create a map: class to "jars".
  2. Then try to compile the class and note the missing classes.
  3. Look up the jars that contain the missing classes in your class to jar map.
  4. And presto: you have your class path

If that is still too many jars, you can always run it through an optimization algorithm that tries to find the smallest combination of jars that include all classes, but you should at least have much smaller starting set. All combinations of up to 5 elements selected from a pool of 3000 is a *lot* of combinations to try out.

Best, beth

  • Comment on Re: permutations and combinations - too many java class paths!