Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation error: Source option 6 is no longer supported. Use 7 or later. #86

Open
jaum20 opened this issue Oct 13, 2022 · 2 comments
Open

Comments

@jaum20
Copy link

jaum20 commented Oct 13, 2022

Describe the bug
A clear and concise description of what the bug is.

the program fails to compile

To Reproduce
Give exact command you ran. When you run ASTRAL, make sure you keep the standard error (e.g., by adding 2>astral.log to the end of your command).

git clone https://github.com/smirarab/ASTRAL
cd ASTRAL
./make.sh

Log file
Send us the log file (standard error of ASTRAL)

++ grep _versinon main/phylonet/coalescent/CommandLine.java
++ grep String
++ sed -e 's/.*= .//g' -e 's/.;//g'
+ version=5.7.8
+ echo Version 5.7.8
Version 5.7.8
+ cd main
+ rm -f 'phylonet/coalescent/*.class' phylonet/util/BitSet.class 'phylonet/tree/model/sti/STITreeCluster*.class' phylonet/tree/io/NewickWriter.class
+ javac -source 1.6 -target 1.6 -classpath ../lib/main.jar:../lib/colt.jar:../lib/JSAP-2.1.jar phylonet/util/BitSet.java phylonet/coalescent/AbstractClusterCollection.java phylonet/coalescent/AbstractComputeMinCostTask.java phylonet/coalescent/AbstractDataCollection.java phylonet/coalescent/AbstractInference.java phylonet/coalescent/AbstractPartition.java phylonet/coalescent/AbstractWeightCalculator.java phylonet/coalescent/BipartitionWeightCalculator.java phylonet/coalescent/CannotResolveException.java phylonet/coalescent/CommandLine.java phylonet/coalescent/DeepCoalescencesCounter.java phylonet/coalescent/DLClusterCollection.java phylonet/coalescent/DLComputeMinCostTask.java phylonet/coalescent/DLDataCollection.java phylonet/coalescent/DLInference.java phylonet/coalescent/DLWeightCalculator.java phylonet/coalescent/GlobalMaps.java phylonet/coalescent/IClusterCollection.java phylonet/coalescent/Options.java phylonet/coalescent/Polytomy.java phylonet/coalescent/Polytree.java phylonet/coalescent/Posterior.java phylonet/coalescent/QuartetCollection.java phylonet/coalescent/SimilarityMatrix.java phylonet/coalescent/SingleIndividualSample.java phylonet/coalescent/Solution.java phylonet/coalescent/SpeciesMapper.java phylonet/coalescent/STBipartition.java phylonet/coalescent/TaxonIdentifier.java phylonet/coalescent/TaxonNameMap.java phylonet/coalescent/Tripartition.java phylonet/coalescent/Utils.java phylonet/coalescent/WQClusterCollection.java phylonet/coalescent/WQComputeMinCostTask.java phylonet/coalescent/WQDataCollection.java phylonet/coalescent/WQInference.java phylonet/coalescent/WQWeightCalculator.java phylonet/tree/model/sti/STITreeCluster.java phylonet/tree/io/NewickWriter.java
warning: [options] bootstrap class path not set in conjunction with -source 6
error: Source option 6 is no longer supported. Use 7 or later.
error: Target option 6 is no longer supported. Use 7 or later.

** Version

Additional context
Add any other context about the problem here.

@jaum20 jaum20 changed the title error: Source option 6 is no longer supported. Use 7 or later. compilation error: Source option 6 is no longer supported. Use 7 or later. Oct 13, 2022
@mbutler808
Copy link

Hi @jaum20 If you are on a Mac, I found online that you can install astral with homebrew. After installing homebrew (https://brew.sh) , open a terminal and run

brew install brewsci/bio/astral

It needs to be a recent OS, however. It installed on my machine running Ventura, but not Mojave

@smirarab
Copy link
Owner

smirarab commented Apr 7, 2023

Sorry for the delayed response.

Changing 1.6 to 1.7 in the line below should fix it:

https://github.com/smirarab/ASTRAL/blob/master/make.sh#L14

I keep this open so that I can fix it in future releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants