eclipse-openj9 / openj9

Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.
Other
3.27k stars 721 forks source link

Please make OpenJ9 available via sdkman! #1924

Closed vogella closed 5 years ago

vogella commented 6 years ago

These days I use sdkman to get my JRE and JDK installation. Would be great if OpenJ9 would also be available via sdkman.

sdk list java

shows:

 + 9ea163           > * 10.0.1-oracle                                            
     9.0.7-zulu           10.0.0-openjdk                                           
     9.0.4-openjdk        1.0.0-rc1-graal                                          
   + 9.0.1-zulu                                                                    
   + 8u161-oracle                                                                  
   + 8u152-zulu                                                                    
   + 8u131                                                                         
   + 8u121                                                                         
     8.0.172-zulu                                                                  
     8.0.17 + 9ea163           > * 10.0.1-oracle                                            
     9.0.7-zulu           10.0.0-openjdk                                           
     9.0.4-openjdk        1.0.0-rc1-graal                                          
   + 9.0.1-zulu                                                                    
   + 8u161-oracle                                                                  
   + 8u152-zulu                                                                    
   + 8u131                                                                         
   + 8u121                                                                         
     8.0.172-zulu                                                                  
     8.0.171-oracle                                                                
   + 7u141-zulu                                                                    
     7.0.181-zulu                                                                  
     6.0.107-zulu                                                                  
   + 10u23-openjdk                                                                 
     10.0.1-zulu   1-oracle                                                                
   + 7u141-zulu                                                                    
     7.0.181-zulu                                                                  
     6.0.107-zulu                                                                  
   + 10u23-openjdk                                                                 
     10.0.1-zulu   
DanHeidinga commented 6 years ago

OpenJDK with Eclipse OpenJ9 binaries are available from AdoptOpenJDK. Downloadable from the webpage[1] or via the api[2].

I'm not familiar with sdkman (yet). The Adopt api is likely the starting point for getting OpenJ9 binaries to sdkman.

[1] https://adoptopenjdk.net/?variant=openjdk8-openj9 [2] https://api.adoptopenjdk.net/README

vogella commented 6 years ago

AFAICS contributing a package to SDKman is described here: http://sdkman.io/vendors.html

marc0der commented 6 years ago

Using the vendor API is one way, but using the database migration project to add your versions is probably simpler for now. See this project for more details: https://github.com/sdkman/sdkman-db-migrations

I'd be more than happy to assist in getting OpenJ9 on sdkman if anything is unclear.

DanHeidinga commented 6 years ago

We're coming up on next release - 0.9.0 - hopefully by the end of the month. Once we've got that release completed, I'd like to come back to this and get the release on SDKman at that point.

dpishchukhin commented 5 years ago

any news for the topic?

marc0der commented 5 years ago

@dpishchukhin please see my comment above :point_up:. As stated before, it is as simple as a pull request. I would suggest using the adoptopenjdk openj9 flavour.

vogella commented 5 years ago

Any progress here?

dpishchukhin commented 5 years ago

It's already there.

screenshot 2019-02-13 at 12 45 54
DanHeidinga commented 5 years ago

Awesome! Many thanks for getting the Adopt builds - both OpenJ9 and Hotspot - on SDKMAN

vogella commented 5 years ago

Thanks also from my side.

On Wed, Feb 13, 2019 at 4:47 PM Dan Heidinga notifications@github.com wrote:

Closed #1924 https://github.com/eclipse/openj9/issues/1924.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/eclipse/openj9/issues/1924#event-2137112117, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIihg-aZecoc5o5hrTtQbNhbPyouWhnks5vNDOFgaJpZM4UC_jX .

-- Eclipse Platform project co-lead CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg Amtsgericht Hamburg: HRB 127058 Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel USt-IdNr.: DE284122352 Fax (040) 5247 6322, Email: lars.vogel@vogella.com, Web: http://www.vogella.com

koppor commented 8 months ago

For the Googlers: Follow-up at https://github.com/eclipse-openj9/openj9/issues/15060.

TL;DR:

$ sdk install java x.y.z-sem

Semeru Runtimes use the class libraries from OpenJDK, along with the Eclipse OpenJ9 Java Virtual Machine to enable developers to build and deploy Java applications that will start quickly, deliver great performance, all while using less memory.

Source: https://sdkman.io/jdks#sem

Unfortunately, JDK 21 is not available as of today:

Semeru        |     | 17.0.9       | sem     |            | 17.0.9-sem
              |     | 11.0.21      | sem     |            | 11.0.21-sem
              |     | 8.0.392      | sem     |            | 8.0.392-sem