Windows Dev Env Setup

Installation Forum (Inactive)
Windows Dev Env Setup balter  2016-03-16 09:15
Status: Closed
 
I'm trying to set up my development environment in Windows. I'm primarily working from the documentation at

https://www.labkey.org/home/Documentation/wiki-page.view?name=build

I'm documenting my progress here: https://gist.github.com/abalter/e7037098cf58b036a36c/edit

I'm stuck on one particular issue. Right now I have

    JAVA_HOME=C:\Program Files\Java\jre1.8.0_74

When I start IntelliJ, I get

    'tools.jar' seems to be not in IDEA classpath.
    Please ensure JAVA_HOME points to JDK rather than JRE.

When I change to

    JAVA_HOME=C:\Program Files\Java\jdk1.8.0_74

and start IntelliJ, I get what is in the image.

Suggestions?
 
 
Jon (LabKey DevOps) responded:  2016-03-17 15:19
Hi Ariel,

That error is definitely indicating a problem with IntelliJ and not with the actual configuration of the LabKey config to be used. Looking at the error itself, it appears to be trying to make a connection and it's failing.

Since you're on a Windows machine, can you try and reset your winsock? I've seen a similar error before with other applications that usually seem to require the winsock to get reset due to getting into a bad state.

To reset the winsock:

1. Open a command window (try to run the window in Administrative Mode if you can).
2. Type in the following into the command window:

netsh winsock reset

3. Then press enter. This should reset the winsock.

Note: You may need to restart your computer for the changes to take effect.

Regards,

Jon
 
Jon (LabKey DevOps) responded:  2016-03-17 15:21
Also, I would recommend submitting that stack error directly to IntelliJ so they can file a bug on it as well.

Please go to the following URL and copy/paste the stack error in a new ticket for them.

https://youtrack.jetbrains.com/issues/

Regards,

Jon