Comments (5)
@vazexqi @kaplanjosh This is something we should probably have on the todo list.
from salesforcedx-vscode.
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.
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.
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.
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)
- Very slow
- The test class runs very slowly HOT 6
- Error when the command npm i @salesforce/lwc-dev-server HOT 3
- LWC LightningComponentBundle is not working for target in vs code HOT 13
- SFDX retrieve /deploy commands failing with run after installing latest CLI version and VS Code Extension HOT 18
- UI not matching CLI HOT 9
- Not getting Autocomplete of Aura Component HOT 12
- Sandbox authentication from vs code HOT 6
- Important Update: Changes to our deprecation plans
- Retrieve source results are two times bigger because of "xml" shifted to next line (see picture inside) HOT 5
- When using Rename Symbol (F2) with variable that contains number "sumOfLast3Months" only "Months" is shown in rename field. HOT 3
- `sf apex get test` throws heap out of memory HOT 6
- Error when installing plugin -- @oclif/[email protected]: Package no longer supported. HOT 5
- VF Language Server - textDocument/documentHighlight failed HOT 8
- Error: The string "" is not a valid JSON string HOT 2
- Org Browser - Incorrectly loading standard salesforce Custom Applications HOT 2
- Missing output of "Apex Code Coverage by Class" when "Store Only Aggregated Code Coverage" is enabled in the Test Execution settings HOT 7
- Internal error wit Replay Debugger HOT 3
- `<style>` tag breaks VF Language Server HOT 1
- Debug test(s) failed to run HOT 6
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 salesforcedx-vscode.