1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 11:13:46 +02:00

mpijavac: add page (#17583)

Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
Ira Senak 2025-08-16 11:14:29 +08:00 committed by GitHub
parent 8f89cfb287
commit da795b26df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

25
pages/common/mpijavac.md Normal file
View file

@ -0,0 +1,25 @@
# mpijavac
> Open MPI compiler wrapper for Java.
> See also: `mpirun`.
> More information: <https://docs.open-mpi.org/en/main/features/java.html#building-java-mpi-applications>.
- Compile a Java source file:
`mpijavac {{path/to/source_file.java}}`
- Pass application-specific classpaths to compiler:
`mpijavac -cp {{path/to/my/app.jar}} {{path/to/source_file.java}}`
- Show the flags necessary to build MPI Java applications:
`mpijavac --showme`
- Show the flags necessary to compile MPI Java applications:
`mpijavac --showme:compile`
- Show full invoked Java compiler command line:
`mpijavac {{path/to/source_file.java}} --showme`