Giter VIP home page Giter VIP logo

Comments (5)

guw avatar guw commented on June 19, 2024

@vazexqi @kaplanjosh This is something we should probably have on the todo list.

from salesforcedx-vscode.

fcathala avatar fcathala commented on June 19, 2024

Note that Java 9 is not just Linux but all platforms. It looks to me like Oracle is pushing v9: http://www.oracle.com/technetwork/java/javase/downloads/jre9-downloads-3848532.html

from salesforcedx-vscode.

vazexqi avatar vazexqi commented on June 19, 2024
Jan 18, 2018 5:47:49 PM com.google.common.util.concurrent.ServiceManager$ServiceListener failed
SEVERE: Service Apex Prelude Service [FAILED] has failed in the STARTING state.
java.lang.NoClassDefFoundError: javax/xml/ws/Holder
    at apex.jorje.semantic.ast.visitor.ValidationScope.push(ValidationScope.java:75)
    at apex.jorje.semantic.ast.statement.BlockStatement.validate(BlockStatement.java:151)
    at apex.jorje.semantic.ast.statement.MethodBlockStatement.validate(MethodBlockStatement.java:82)
    at apex.jorje.semantic.ast.member.Method.validate(Method.java:168)
    at apex.jorje.semantic.ast.compilation.UserClass.validate(UserClass.java:183)
    at apex.jorje.semantic.compiler.CodeUnit.validate(CodeUnit.java:233)
    at apex.jorje.semantic.compiler.CompilerOperations$ValidateOperation.invoke(CompilerOperations.java:107)
    at apex.jorje.semantic.compiler.CompilerStageProcessor.processFirstStage(CompilerStageProcessor.java:133)
    at apex.jorje.semantic.compiler.CompilerStageProcessor.processToStage(CompilerStageProcessor.java:103)
    at apex.jorje.semantic.compiler.ApexCompiler.compile(ApexCompiler.java:115)
    at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:122)
    at apex.jorje.lsp.impl.services.ApexPreludeManagedService.scanApexStandardLibraryIfNecessary(ApexPreludeManagedService.java:168)
    at apex.jorje.lsp.impl.services.ApexPreludeManagedService.startUp(ApexPreludeManagedService.java:98)
    at com.google.common.util.concurrent.AbstractIdleService$DelegateService$1.run(AbstractIdleService.java:60)
    at com.google.common.util.concurrent.Callables$3.run(Callables.java:100)
    at java.base/java.lang.Thread.run(Thread.java:844)

This is because of https://stackoverflow.com/questions/43574426/how-to-resolve-java-lang-noclassdeffounderror-javax-xml-bind-jaxbexception-in-j

We would either change jorje to not use javax/xml/ws/Holder or we special case for Java 9.

However, because Java 9 doesn't seem to be a long-term release according to http://www.oracle.com/technetwork/java/eol-135779.html, I'm thinking of holding off until 18.9^ (LTS) comes out.

from salesforcedx-vscode.

vazexqi avatar vazexqi commented on June 19, 2024

According to http://www.oracle.com/technetwork/java/eol-135779.html Java 9 SE is not a long-term release. The next long-term release is Java 11 (18.9-LTS) which will be out September 2018. We will support it then.

I'm closing this issue now.

from salesforcedx-vscode.

matteobosc avatar matteobosc commented on June 19, 2024

Java 11 (18.9-LTS) is out since almost three months, still no support for this extension. Apex autocomplete and DB definition are key functionality for Salesforce developers. Do you have a milestone for the new stable Java support?

from salesforcedx-vscode.

Related Issues (20)

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.