Comments (6)
I don't know what this means. What is rt.jar?
from leiningen.
Hi,
rt.jar located at $JAVA_HOME/lib/rt.jar contains all the classes that the JDK bootstraps with such as java.lang.*.
Obviously java.lang.String etc are working with leiningen but for example com.sun.net.httpserver.HttpHandler does not. And since it ships with the JDK and is platform dependent, it is beyond the scope of any dependency management tools.
http://java.sun.com/javase/6/docs/technotes/tools/linux/jdkfiles.html
Br,
miau
from leiningen.
Hi,
I have the same problem with com.sun.net package.
It's not obvious what classes are found in rt.jar by the AntClassLoader used by leiningen. HttpHandler happens to be platform dependent, but you can't be sure that all platform independent classes will be found correctly.
I see no reason why this should be out of scope just because it seems platform dependent. Leiningen already handles platform dependents issues such as different filename separators on cygwin.
Adam
from leiningen.
Is this still an issue now that Leiningen doesn't use the AntClassLoader?
from leiningen.
I don't know, I changed direction and I use jetty now. It works perfectly.
from leiningen.
OK, closing for now. If it resurfaces it can be reopened.
from leiningen.
Related Issues (20)
- lein deps hangs and exits due to StackOverflowError HOT 2
- Moving the repository to a new host HOT 13
- Lein uberjar producing different results to jar in different environments ( Ubuntu vs. OS X ) HOT 5
- Leiningen Homebrew 2.9.10 Upgrade Failing HOT 1
- Use :check-paths in check task if specified HOT 4
- CVE-2022-36033: Upgrade jsoup to version 1.15.3 HOT 3
- Leiningen 2.9.1 with java 7 HOT 2
- Add more versatile dependency/plugin resolution options (issue with plugin resolution order) HOT 1
- test-paths are included on classpath when building uberjar HOT 4
- changing the error message if a parent pom file is missing HOT 1
- Global :exclusions in profile do not apply to root :dependencies HOT 6
- A way to pass a profile to generated jar HOT 1
- Leiningen 2.11.0 breaks Eastwood HOT 12
- Leiningen hangs instead of complaining about not finding JAVA_HOME HOT 1
- Bump default clojure version to fix CVE-2024-22871 HOT 3
- lein doesn't fully reify org.apache.maven.wagon.Wagon HOT 1
- `lein repl` gets stuck when adding opentelemetry agent jar as `:jvm-opts` in a project that has `:java-source-paths`
- Java installed by sdkman not being recognized on emacs+cider runs HOT 2
- `WARNING: cat already refers to: #'clojure.core/cat in namespace: net.cgrand.parsley.fold` on `lein trampoline repl` HOT 3
- :plugin-repositories ignored when :local-repo is set
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leiningen.