mirror of
				https://github.com/irmen/prog8.git
				synced 2025-11-04 10:16:13 +00:00 
			
		
		
		
	upgrade to JDK 17 for the build process (required by Gradle 9)
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/all-ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/all-ci.yml
									
									
									
									
										vendored
									
									
								
							@@ -20,10 +20,10 @@ jobs:
 | 
				
			|||||||
          make -j4
 | 
					          make -j4
 | 
				
			||||||
          sudo make install          
 | 
					          sudo make install          
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Set up JDK 11
 | 
					      - name: Set up JDK 17
 | 
				
			||||||
        uses: actions/setup-java@v4
 | 
					        uses: actions/setup-java@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          java-version: 11
 | 
					          java-version: 17
 | 
				
			||||||
          distribution: temurin
 | 
					          distribution: temurin
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Build and test with Gradle
 | 
					      - name: Build and test with Gradle
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -381,8 +381,9 @@ Fix it by adding an ``%import floats``.
 | 
				
			|||||||
Gradle error when building the compiler yourself
 | 
					Gradle error when building the compiler yourself
 | 
				
			||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 | 
					^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 | 
				
			||||||
If you get a gradle build error containing the line "No matching toolchains found for requested specification"
 | 
					If you get a gradle build error containing the line "No matching toolchains found for requested specification"
 | 
				
			||||||
somewhere, it means that the Gradle build tool can't locate the correct version of the JDK to use.
 | 
					or "Gradle requires JVM 17 or later to run", it means that the Gradle build tool can't locate the correct version of the JDK to use.
 | 
				
			||||||
You will need a JDK for Java version 11 or higher to build the compiler.
 | 
					You will need a Java JDK version 17 or higher to build the compiler.
 | 
				
			||||||
 | 
					(the compiler itself only needs Java 11 or higher to run though.)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Strange assembler errors
 | 
					Strange assembler errors
 | 
				
			||||||
^^^^^^^^^^^^^^^^^^^^^^^^
 | 
					^^^^^^^^^^^^^^^^^^^^^^^^
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user