Try to make a cross-platform application with JRuby (jar file generation)

"I want you to make an app that works on both Windows and Mac."

Well, whatever the reason, I got these requirements, so I decided to make a Java application. However, I had never made an application in Java before, and when I was wondering what to do, there was something called JRuby, so it was better to use it, so I decided to do so. JRuby? As the name suggests, JRuby seems to be a Java + Ruby language (I don't know the details).

What should have been done

It seems that you can finally make something that works (jar file) by double-clicking the icon.

Create a jar file with JRuby

https://dev.classmethod.jp/etc/jruby_warbler_ruby_source_create_jar/ For the time being, you should be able to follow this procedure.

When I tried it, I was able to go safely

Recommended Posts

Try to make a cross-platform application with JRuby (jar file generation)
How to make a jar file with no dependencies in Maven
[Beginner] Try to make a simple RPG game with Java ①
Try to make a simple callback
Try to make a peepable iterator
Create a jar file with the command
[iOS] I tried to make a processing application like Instagram with Swift
If you want to make a zip file with Ruby, it's rubyzip.
Try to make a music player using Basic Player
I tried to make a machine learning application with Dash (+ Docker) part3 ~ Practice ~
[Introduction] Try to create a Ruby on Rails application
I want to monitor a specific file with WatchService
[Personal application work memo] Make a calendar with simple_calendar
[Introduction to Android application development] Let's make a counter
How to read a library from a JAR file with VS Code << How to not use Maven / Gradle >>
How to request a CSV file as JSON with jMeter
I tried to modernize a Java EE application with OpenShift.
I want to make a list with kotlin and java!
I want to make a function with kotlin and java!
Learning Ruby with AtCoder 13 How to make a two-dimensional array
[swift5] Try to make an API client with various methods
Try developing a containerized Java web application with Eclipse + Codewind
What is a jar file?
I tried to make a machine learning application with Dash (+ Docker) part2 ~ Basic way of writing Dash ~
Try to imitate the idea of a two-dimensional array with a one-dimensional array
Let's make a book management web application with Spring Boot part1
How to create a jar file or war file using the jar command
I want to hook log file generation / open with log4j # FileAppender
Let's make a book management web application with Spring Boot part3
Let's make a book management web application with Spring Boot part2
Make a C compiler to use with Rust x CLion with Docker
I tried to make an Android application with MVC now (Java)
Add a time stamp to the JAR file name in Gradle
How to open a script file from Ubuntu with VS code
Try to make a CS 3D tile from the Geographical Survey tile
How to build a little tricky with dynamic SQL query generation
I tried to make a group function (bulletin board) with Rails
I tried to make a machine learning application with Dash (+ Docker) part1 ~ Environment construction and operation check ~
Try to introduce OpenCV to Android application
Deploy a Docker application with Greengrass
Make a digging maze with Ruby2D
Preparing to create a Rails application
Make a slideshow tool with JavaFX
How to make a Java container
Make a Christmas tree with swift
Minimal Rails with reduced file generation
Try using Redis with Java (jar)
Make a garbage reminder with line-bot-sdk-java
Build a web application with Javalin
Try to imitate marshmallows with MiniMagick
Make a list map with LazyMap
How to make a splash screen
How to make a Jenkins plugin
How to make a Maven project
Try to create a server-client app
Make fat Jar with Minecraft modding
CompletableFuture Getting Started 2 (Try to make CompletableFuture)
How to make a Java array
Make a typing game with ruby
I tried to make a simple face recognition Android application using OpenCV
I made an app to scribble with PencilKit on a PDF file