GithubHelp home page GithubHelp logo

not working in Windows about jshell-plugin HOT 11 CLOSED

mrsarm avatar mrsarm commented on August 16, 2024
not working in Windows

from jshell-plugin.

Comments (11)

ilyapashuk avatar ilyapashuk commented on August 16, 2024

now I had tested in arch linux, not working too.

Java 17 and gradle 7.3.2 in both systems

from jshell-plugin.

ilyapashuk avatar ilyapashuk commented on August 16, 2024

my simple project is in attachment
simpledb.zip

I used java library plugin type.

from jshell-plugin.

mrsarm avatar mrsarm commented on August 16, 2024

Hi @ilyapashuk ! Thanks for the sample, that will help me understand the problem better.

Talk to you here soon.

from jshell-plugin.

ilyapashuk avatar ilyapashuk commented on August 16, 2024

from jshell-plugin.

mrsarm avatar mrsarm commented on August 16, 2024

it's better to use .pam_environment or /etc/environment because with...

Not sure how this is related @ilyapashuk

maybe it will be better to build full jar instead of only classes?

I tried executing first gradle assemble but got the same results. Did you try something different?

from jshell-plugin.

mrsarm avatar mrsarm commented on August 16, 2024

@ilyapashuk I just added some workarounds to improve the classpath detection, please checkout the pre-release 1.2.0-RC1 and execute again (in fact, I have checked the workaround with your project and indeed did work, but I want to check that it also works from your environment).

plugins {
    // Apply the java-library plugin for API and implementation separation.
    id 'java-library'
    id "com.github.mrsarm.jshell.plugin" version "1.2.0-RC1"
}

from jshell-plugin.

ilyapashuk avatar ilyapashuk commented on August 16, 2024

now it works, but shows warning about using of deprecated gradle features, which will not be available in gradle 8.0

from jshell-plugin.

mrsarm avatar mrsarm commented on August 16, 2024

Good catch @ilyapashuk ! your feedback is very valuable, I didn't notice that warning, now is fixed, and should be ready for Gradle 8.

Please test the version 1.2.0-RC2 whenever you can.

from jshell-plugin.

ilyapashuk avatar ilyapashuk commented on August 16, 2024

Now it works without warnings, thank you.

from jshell-plugin.

mrsarm avatar mrsarm commented on August 16, 2024

Great ! I'll merge it soon.

from jshell-plugin.

mrsarm avatar mrsarm commented on August 16, 2024

Fixed in version 1.2.0.

from jshell-plugin.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.