home.social

#jshell — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #jshell, aggregated by home.social.

  1. Came up with this little “trick” to play around interactively with packages and APIs in jshell (Java's interactive shell) when developing a Maven-based project:

    # Gather dependency classpath
    mvn dependency:build-classpath -Dmdep.outputfile=deps.cp.txt

    # run interactive shell
    CLASSPATH=$(cat deps.cp.txt) jshell

    Now classes can be imported inside the interactive shell from any libraries used in your project. So that you could experiment with things iteratively.

    #java #Maven #jshell #coding

  2. Came up with this little “trick” to play around interactively with packages and APIs in jshell (Java's interactive shell) when developing a Maven-based project:

    # Gather dependency classpath
    mvn dependency:build-classpath -Dmdep.outputfile=deps.cp.txt

    # run interactive shell
    CLASSPATH=$(cat deps.cp.txt) jshell

    Now classes can be imported inside the interactive shell from any libraries used in your project. So that you could experiment with things iteratively.

  3. Came up with this little “trick” to play around interactively with packages and APIs in jshell (Java's interactive shell) when developing a Maven-based project:

    # Gather dependency classpath
    mvn dependency:build-classpath -Dmdep.outputfile=deps.cp.txt

    # run interactive shell
    CLASSPATH=$(cat deps.cp.txt) jshell

    Now classes can be imported inside the interactive shell from any libraries used in your project. So that you could experiment with things iteratively.

    #java #Maven #jshell #coding

  4. Came up with this little “trick” to play around interactively with packages and APIs in jshell (Java's interactive shell) when developing a Maven-based project:

    # Gather dependency classpath
    mvn dependency:build-classpath -Dmdep.outputfile=deps.cp.txt

    # run interactive shell
    CLASSPATH=$(cat deps.cp.txt) jshell

    Now classes can be imported inside the interactive shell from any libraries used in your project. So that you could experiment with things iteratively.

    #java #Maven #jshell #coding

  5. Came up with this little “trick” to play around interactively with packages and APIs in jshell (Java's interactive shell) when developing a Maven-based project:

    # Gather dependency classpath
    mvn dependency:build-classpath -Dmdep.outputfile=deps.cp.txt

    # run interactive shell
    CLASSPATH=$(cat deps.cp.txt) jshell

    Now classes can be imported inside the interactive shell from any libraries used in your project. So that you could experiment with things iteratively.

    #java #Maven #jshell #coding

  6. 🚀 Tự làm JShell bằng C! Bài viết chia sẻ cách xây dựng lexer, token và AST cho shell: đọc ký tự, bỏ dấu cách, xử lý comment, >, >> và chuỗi có dấu ngoặc. Hiểu cách parse lệnh, redirection và tuân chuẩn POSIX. #programming #shell #C #JShell #POSIX #lậptrình #shellvi

    dev.to/jaydamani/jshell-making

  7. JTaccuino is a #JavaFX based notebook application for Java developers.
    It is built for usages in education, interactive experimation with algorithms and possible more advanced use cases.
    Java code execution is provided by #JShell, the awesome #Java REPL.
    github.com/jtaccuino/jtaccuino

  8. JTaccuino is a #JavaFX based notebook application for Java developers.
    It is built for usages in education, interactive experimation with algorithms and possible more advanced use cases.
    Java code execution is provided by #JShell, the awesome #Java REPL.
    github.com/jtaccuino/jtaccuino

  9. JTaccuino is a #JavaFX based notebook application for Java developers.
    It is built for usages in education, interactive experimation with algorithms and possible more advanced use cases.
    Java code execution is provided by #JShell, the awesome #Java REPL.
    github.com/jtaccuino/jtaccuino

  10. JTaccuino is a #JavaFX based notebook application for Java developers.
    It is built for usages in education, interactive experimation with algorithms and possible more advanced use cases.
    Java code execution is provided by #JShell, the awesome #Java REPL.
    github.com/jtaccuino/jtaccuino

  11. JTaccuino is a #JavaFX based notebook application for Java developers.
    It is built for usages in education, interactive experimation with algorithms and possible more advanced use cases.
    Java code execution is provided by #JShell, the awesome #Java REPL.
    github.com/jtaccuino/jtaccuino

  12. Устаревшие мифы про Java

    С момента появления Java in 1995 много всего изменилось в мире как в часте софта так и железа. Изменился также и релизный цикл выпуска новых версий. Они начали появлятся гораздо чаще и привносить в язык много интересных возможностей. Язык буквально на глазах преображается и не отстает от трендов индустрии. Язык Java прошел большой жизненный путь и за это время вокруг него сформировалось много разлычных мифов и слухов. Часть из них рождались в холиварных спорах о том какой язык лучше. Часть имеют под собой реальное обоснование и связанны с различными ограничениями софта\железа существовавшими на тот момент, но с течением времени утратившим свою актуальность. В этой статье мы постараемся сфокусироваться как раз на мифах утративших свою актуальность.

    habr.com/ru/articles/842384/

    #java #jvm #jshell

  13. Устаревшие мифы про Java

    С момента появления Java in 1995 много всего изменилось в мире как в часте софта так и железа. Изменился также и релизный цикл выпуска новых версий. Они начали появлятся гораздо чаще и привносить в язык много интересных возможностей. Язык буквально на глазах преображается и не отстает от трендов индустрии. Язык Java прошел большой жизненный путь и за это время вокруг него сформировалось много разлычных мифов и слухов. Часть из них рождались в холиварных спорах о том какой язык лучше. Часть имеют под собой реальное обоснование и связанны с различными ограничениями софта\железа существовавшими на тот момент, но с течением времени утратившим свою актуальность. В этой статье мы постараемся сфокусироваться как раз на мифах утративших свою актуальность.

    habr.com/ru/articles/842384/

    #java #jvm #jshell

  14. Устаревшие мифы про Java

    С момента появления Java in 1995 много всего изменилось в мире как в часте софта так и железа. Изменился также и релизный цикл выпуска новых версий. Они начали появлятся гораздо чаще и привносить в язык много интересных возможностей. Язык буквально на глазах преображается и не отстает от трендов индустрии. Язык Java прошел большой жизненный путь и за это время вокруг него сформировалось много разлычных мифов и слухов. Часть из них рождались в холиварных спорах о том какой язык лучше. Часть имеют под собой реальное обоснование и связанны с различными ограничениями софта\железа существовавшими на тот момент, но с течением времени утратившим свою актуальность. В этой статье мы постараемся сфокусироваться как раз на мифах утративших свою актуальность.

    habr.com/ru/articles/842384/

    #java #jvm #jshell

  15. #JShell aka Java #REPL finde ich immer wieder ein sehr nützliches Tool, wenn man "mal eben" etwas Code evaluieren will

  16. #JShell aka Java #REPL finde ich immer wieder ein sehr nützliches Tool, wenn man "mal eben" etwas Code evaluieren will

  17. #JShell aka Java #REPL finde ich immer wieder ein sehr nützliches Tool, wenn man "mal eben" etwas Code evaluieren will

  18. #JShell aka Java #REPL finde ich immer wieder ein sehr nützliches Tool, wenn man "mal eben" etwas Code evaluieren will

  19. Mejor tarde que nunca, pero por fin tenemos un playground "oficial" para java 🎉

    dev.java/playground/
    #java #jdk21 #jshell

  20. Two weeks ago I promised a blog post about the process we use for automating code samples verification in our #evitaDB documentation and now I'm keeping that promise.

    The approach described, which takes advantage of #JUnit5 dynamic testing and #JShell REPL, looks like a novel approach. I haven't been able to Google any other project that documents something similar.

    So if you have a similar use case, read on and get inspired.

    evitadb.io/blog/06-document-ex

  21. Two weeks ago I promised a blog post about the process we use for automating code samples verification in our #evitaDB documentation and now I'm keeping that promise.

    The approach described, which takes advantage of #JUnit5 dynamic testing and #JShell REPL, looks like a novel approach. I haven't been able to Google any other project that documents something similar.

    So if you have a similar use case, read on and get inspired.

    evitadb.io/blog/06-document-ex

  22. Two weeks ago I promised a blog post about the process we use for automating code samples verification in our #evitaDB documentation and now I'm keeping that promise.

    The approach described, which takes advantage of #JUnit5 dynamic testing and #JShell REPL, looks like a novel approach. I haven't been able to Google any other project that documents something similar.

    So if you have a similar use case, read on and get inspired.

    evitadb.io/blog/06-document-ex

  23. Quitting #jshell on #osx takes several seconds, I wondered why and ran async-profiler, seems it's related to updating OSX settings (see flamegraph)

    Doesn't seem to happen when you provide a script file that contains /exit.

    Any ideas how to speed up the #java OSX settings API?

    java/util/prefs/MacOSXPreferencesFile.addKeyToNode

  24. Quitting #jshell on #osx takes several seconds, I wondered why and ran async-profiler, seems it's related to updating OSX settings (see flamegraph)

    Doesn't seem to happen when you provide a script file that contains /exit.

    Any ideas how to speed up the #java OSX settings API?

    java/util/prefs/MacOSXPreferencesFile.addKeyToNode

  25. Quitting #jshell on #osx takes several seconds, I wondered why and ran async-profiler, seems it's related to updating OSX settings (see flamegraph)

    Doesn't seem to happen when you provide a script file that contains /exit.

    Any ideas how to speed up the #java OSX settings API?

    java/util/prefs/MacOSXPreferencesFile.addKeyToNode

  26. Quitting #jshell on #osx takes several seconds, I wondered why and ran async-profiler, seems it's related to updating OSX settings (see flamegraph)

    Doesn't seem to happen when you provide a script file that contains /exit.

    Any ideas how to speed up the #java OSX settings API?

    java/util/prefs/MacOSXPreferencesFile.addKeyToNode

  27. Quitting #jshell on #osx takes several seconds, I wondered why and ran async-profiler, seems it's related to updating OSX settings (see flamegraph)

    Doesn't seem to happen when you provide a script file that contains /exit.

    Any ideas how to speed up the #java OSX settings API?

    java/util/prefs/MacOSXPreferencesFile.addKeyToNode

  28. Want to have fun with timezones and dates in #Java #JShell? Check out my article in #JavaMagazin edition 6.2023: "Zeitzonen und das Java-Tool jshell. Ein Tool für jede Zeitenwende." It even made it to the cover :-)

    entwickler.de/java/jshell-zeit

  29. Want to have fun with timezones and dates in #Java #JShell? Check out my article in #JavaMagazin edition 6.2023: "Zeitzonen und das Java-Tool jshell. Ein Tool für jede Zeitenwende." It even made it to the cover :-)

    entwickler.de/java/jshell-zeit

  30. Want to have fun with timezones and dates in #Java #JShell? Check out my article in #JavaMagazin edition 6.2023: "Zeitzonen und das Java-Tool jshell. Ein Tool für jede Zeitenwende." It even made it to the cover :-)

    entwickler.de/java/jshell-zeit

  31. Want to have fun with timezones and dates in #Java #JShell? Check out my article in #JavaMagazin edition 6.2023: "Zeitzonen und das Java-Tool jshell. Ein Tool für jede Zeitenwende." It even made it to the cover :-)

    entwickler.de/java/jshell-zeit

  32. Want to have fun with timezones and dates in #Java #JShell? Check out my article in #JavaMagazin edition 6.2023: "Zeitzonen und das Java-Tool jshell. Ein Tool für jede Zeitenwende." It even made it to the cover :-)

    entwickler.de/java/jshell-zeit

  33. "Can I finally use Java as a scripting language and call it JavaScript? - No, you can’t call it JavaScript for obvious reasons." 😂

    #JShell

    medium.com/@adambgoode/scripti

  34. "Can I finally use Java as a scripting language and call it JavaScript? - No, you can’t call it JavaScript for obvious reasons." 😂

    #JShell

    medium.com/@adambgoode/scripti

  35. "Can I finally use Java as a scripting language and call it JavaScript? - No, you can’t call it JavaScript for obvious reasons." 😂

    #JShell

    medium.com/@adambgoode/scripti

  36. "Can I finally use Java as a scripting language and call it JavaScript? - No, you can’t call it JavaScript for obvious reasons." 😂

    #JShell

    medium.com/@adambgoode/scripti

  37. "Can I finally use Java as a scripting language and call it JavaScript? - No, you can’t call it JavaScript for obvious reasons." 😂

    #JShell

    medium.com/@adambgoode/scripti

  38. Tomorrow I’ll do a demo internally of what I’ve been working on recently, so I prepared a #jshell environment for poking around the innards of the system directly while it’s running. Neat stuff.

  39. Tomorrow I’ll do a demo internally of what I’ve been working on recently, so I prepared a #jshell environment for poking around the innards of the system directly while it’s running. Neat stuff.

  40. Tomorrow I’ll do a demo internally of what I’ve been working on recently, so I prepared a #jshell environment for poking around the innards of the system directly while it’s running. Neat stuff.