mirror of
				https://github.com/actions/setup-java.git
				synced 2025-11-04 08:20:54 +00:00 
			
		
		
		
	Merge d3af3ec854 into ead9eaa3cf
		
	This commit is contained in:
		
				commit
				
					
						921fd41cb5
					
				
			
		
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -40,7 +40,7 @@ For information about the latest releases, recent updates, and newly supported d
 | 
			
		|||
 | 
			
		||||
  - `distribution`: _(required)_ Java [distribution](#supported-distributions).
 | 
			
		||||
 | 
			
		||||
  - `java-package`: The packaging variant of the chosen distribution. Possible values: `jdk`, `jre`, `jdk+fx`, `jre+fx`. Default value: `jdk`.
 | 
			
		||||
  - `java-package`: The packaging variant of the chosen distribution. Possible values: `jdk`, `jre`, `jdk+fx`, `jre+fx`, `jdk+crac`. Default value: `jdk`.
 | 
			
		||||
 | 
			
		||||
  - `architecture`: The target architecture of the package. Possible values: `x86`, `x64`, `armv7`, `aarch64`, `ppc64le`. Default value: Derived from the runner machine.
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,7 +61,7 @@ steps:
 | 
			
		|||
  with:
 | 
			
		||||
    distribution: 'zulu'
 | 
			
		||||
    java-version: '21'
 | 
			
		||||
    java-package: jdk # optional (jdk, jre, jdk+fx or jre+fx) - defaults to jdk
 | 
			
		||||
    java-package: jdk # optional (jdk, jre, jdk+fx or jre+fx, jdk+crac) - defaults to jdk
 | 
			
		||||
- run: java -cp java HelloWorldApp
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue