Free code opening from windows

Microsoft Build of OpenJDK ™

Free. Open Source. Freshly Brewed!

Supported on macOS, Linux, and Windows.

Java ™ at Microsoft

Java at Microsoft spans from Azure to Minecraft, across SQL Server to Visual Studio Code, and beyond! We use more Java than one can imagine.

The Microsoft Build of OpenJDK is a new no-cost long-term supported distribution and Microsoft’s new way to collaborate and contribute to the Java ecosystem.

OpenJDK 11 Preview

This is a preview release, we do not recommend its use in production environments.

Platform Type Download Link Checksum (SHA256) Sig File
Linux x64 tar.gz microsoft-jdk-11.0.10.9-linux-x64.tar.gz ac61525bcc693fff2a69070b363ee8789942206b7b840849b307b6997d017001 Download
Linux x64 debugsymbols microsoft-debugsymbols-11.0.10.9-linux-x64.tar.gz aaee3908e437eeada52163d59ce6f377cea81edb713c8f1121a1a8451620abdb n/a
macOS x64 tar.gz microsoft-jdk-11.0.10.9-macos-x64.tar.gz 2e97bd29ca204d7bbaf26b8c648b1d529a0339e396b1f27a71281d05fb75ab3c Download
macOS x64 pkg microsoft-jdk-11.0.10.9-macos-x64.pkg f74bbe4ae3aae6f80128471f3f38e66b176625c752341c642a6fc245bcf93abd n/a
macOS x64 debugsymbols microsoft-debugsymbols-11.0.10.9-macos-x64.tar.gz 6bf62cab8ef689c75f6c792c0c5c6e765a57dbd848948a8205b66233ffb94f0d n/a
Windows x64 zip microsoft-jdk-11.0.10.9-windows-x64.zip 3691b74398977965e894ae51c92890c4894a5548606e503d15c88c6b77840797 Download
Windows x64 msi microsoft-jdk-11.0.10.9-windows-x64.msi 4f9f6c9cd1cc9f1d6d893e59dd74ffc7711892cade528937cd3acb12e2b2dc5b n/a
Windows x64 debugsymbols microsoft-debugsymbols-11.0.10.9-windows-x64.zip 106e391f5a43a004729daf65331df9f000bc2062328935a0872dfef4be2affcb n/a
All sourcecode jdk11u.tar.gz 7b873a9c00bb66025e7810750bae7785761406f41623a76d8d08ab42865d9c08 n/a

The public key to verify the SIGNATURE file can be downloaded here.

Other Downloads

Linux Packages (RPM and DEB files) are available at packages.microsoft.com.

Please see the Linux Installer guide for how to get started.

Container Images

Container images are coming soon

Release Notes

Microsoft Specific Enhancements:

OpenJDK 16 EA for Windows AArch64 / ARM64

This is an early-access release, we do not recommend its use in production environments.

Platform Type Download Link Checksum (SHA256) Sig File
Windows
AArch64 / ARM64
zip microsoft-jdk-16.36-windows-aarch64.zip 48dc4aa4b992c721f29ffae104dc71455a7ac3082336a0a77570eba67876e601 Download
Windows
AArch64 / ARM64
debugsymbols microsoft-debugsymbols-16.36-windows-aarch64.zip ef392977f25a7b4d79f490f25ba155ed7ebb3942fb6c0798c26833b1b8441000 n/a
All sourcecode jdk16u.tar.gz 93ce379933bf820fe7799fadebbc7376479c9c0918a0ddcccf64f2c3798e2980 n/a

The public key to verify the SIGNATURE file can be downloaded here.

Feedback

Please do send us your comments, thoughts, and ideas to help us improve this. Visit our GitHub page to send us your feedback.

Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Приступая к работе с Visual Studio Code с подсистемой Windows для Linux Get started using Visual Studio Code with Windows Subsystem for Linux

Visual Studio Code, вместе с расширением Remote-WSL, позволяет использовать WSL в качестве среды разработки для полной времени непосредственно из VS Code. Visual Studio Code, along with the Remote — WSL extension, enables you to use WSL as your full-time development environment directly from VS Code. Вы можете: You can:

  • Разработка в среде под управлением Linux develop in a Linux-based environment
  • Использование цепочек инструментов и служебных программ для Linux use Linux-specific toolchains and utilities
  • Запуск и отладка приложений Linux с помощью Windows с сохранением доступа к средствам повышения производительности, таким как Outlook и Office run and debug your Linux-based applications from the comfort of Windows while maintaining access to productivity tools like Outlook and Office
  • Использование встроенного терминала VS Code для запуска дистрибутива Linux по выбору use the VS Code built-in terminal to run your Linux distribution of choice
  • Воспользуйтесь преимуществами VS Code функций, таких как завершение кода IntelliSense, linting, Поддержка отладки, фрагменты кодаи модульное тестирование . take advantage of VS Code features like Intellisense code completion, linting, debug support, code snippets, and unit testing
  • Простота управления версиями с помощью встроенной поддержки Git VS Code easily manage your version control with VS Code’s built-in Git support
  • выполнение команд и VS Code расширений непосредственно в проектах WSL run commands and VS Code extensions directly on your WSL projects
  • Измените файлы в Linux или смонтированной файловой системе Windows (например,/МНТ/к), не беспокоясь о проблемах с путями, двоичной совместимости или других задачах, связанных с разными операционными системами. edit files in your Linux or mounted Windows filesystem (for example /mnt/c) without worrying about pathing issues, binary compatibility, or other cross-OS challenges

Установка VS Code и расширения Remote WSL Install VS Code and the Remote WSL extension

Перейдите на страницу установки VS Code и выберите двоичный установщик 32 или 64. Visit the VS Code install page and select the 32 or 64 bit installer. Установите Visual Studio Code в Windows (не в файловой системе WSL). Install Visual Studio Code on Windows (not in your WSL file system).

При появлении запроса на Выбор дополнительных задач во время установки обязательно установите флажок Добавить в путь , чтобы можно было легко открыть папку в WSL с помощью команды Code. When prompted to Select Additional Tasks during installation, be sure to check the Add to PATH option so you can easily open a folder in WSL using the code command.

Установите Пакет расширений для удаленной разработки. Install the Remote Development extension pack. Этот пакет расширений включает расширение Remote-WSL в дополнение к расширениям Remote-SSH и Remote-Container, что позволяет открывать любую папку в контейнере, на удаленном компьютере или в WSL. This extension pack includes the Remote — WSL extension, in addition to the Remote — SSH, and Remote — Containers extensions, enabling you to open any folder in a container, on a remote machine, or in WSL.

Чтобы установить расширение Remote-WSL, потребуется версия 1,35 или более поздняя VS Code. In order to install the Remote-WSL extension, you will need the 1.35 May release version or later of VS Code. Не рекомендуется использовать WSL в VS Code без расширения Remote-WSL, так как будет потеряна поддержка автоматического завершения, отладки, linting и т. д. Забавный факт. это расширение WSL устанавливается в $HOME/.вскоде/екстенсионс (введите команду ls $HOME\.vscode\extensions\ в PowerShell). We do not recommend using WSL in VS Code without the Remote-WSL extension as you will lose support for auto-complete, debugging, linting, etc. Fun fact: this WSL extension is installed in $HOME/.vscode/extensions (enter the command ls $HOME\.vscode\extensions\ in PowerShell).

Обновление дистрибутива Linux Update your Linux distribution

В некоторых дистрибутивах WSL Linux отсутствуют библиотеки, необходимые для запуска сервера VS Code. Some WSL Linux distributions are lacking libraries that are required by the VS Code server to start up. Вы можете добавить дополнительные библиотеки в дистрибутив Linux с помощью диспетчера пакетов. You can add additional libraries into your Linux distribution by using its package manager.

Например, чтобы обновить Debian или Ubuntu, используйте: For example, to update Debian or Ubuntu, use:

Чтобы добавить wget (для получения содержимого с веб-серверов) и CA-Certificates (чтобы разрешить приложениям на основе SSL проверять подлинность SSL-соединений), введите: To add wget (to retrieve content from web servers) and ca-certificates (to allow SSL-based applications to check for the authenticity of SSL connections), enter:

Откройте проект WSL в Visual Studio Code Open a WSL project in Visual Studio Code

Из командной строки From the command-line

Чтобы открыть проект из дистрибутива WSL, откройте командную строку распространения и введите: code . To open a project from your WSL distribution, open the distribution’s command line and enter: code .

Из VS Code From VS Code

Кроме того, можно получить доступ к дополнительным VS Code удаленным параметрам с помощью ярлыка: CTRL+SHIFT+P в VS Code, чтобы открыть палитру команд. You can also access more VS Code Remote options by using the shortcut: CTRL+SHIFT+P in VS Code to bring up the command palette. Если затем ввести, Remote-WSL вы увидите список доступных VS Code удаленных параметров, что позволит повторно открыть папку в удаленном сеансе, указать, какое распространение следует открыть в, и многое другое. If you then type Remote-WSL you will see a list of the VS Code Remote options available, allowing you to reopen the folder in a remote session, specify which distribution you want to open in, and more.

Расширения в VS Code Remote Extensions inside of VS Code Remote

Расширение Remote-WSL разделяет VS Code в архитектуру «клиент-сервер» с помощью клиента (пользовательского интерфейса), работающего на компьютере Windows, и сервера (код, Git, подключаемые модули и т. д.), запускаемые удаленно. The Remote-WSL extension splits VS Code into a “client-server” architecture, with the client (the user interface) running on your Windows machine and the server (your code, Git, plugins, etc) running remotely.

При запуске VS Code удаленно на вкладке «расширения» отобразится список расширений, разделенных между локальным компьютером и дистрибутивом WSL. When running VS Code Remote, selecting the ‘Extensions’ tab will display a list of extensions split between your local machine and your WSL distribution.

Установка локального расширения, например темы, должна быть установлена только один раз. Installing a local extension, like a theme, only needs to be installed once.

Некоторые расширения, такие как расширение Python или все, что обрабатывает такие действия, как linting или Отладка, должны устанавливаться отдельно на каждом удаленном распределении WSL. Some extensions, like the Python extension or anything that handles things like linting or debugging, must be installed separately on each remote WSL distributions. VS Code отобразит значок предупреждения ⚠ , а также зеленую кнопку «установить в WSL», если установлено локальное расширение, которое не установлено на удаленном компьютере WSL. VS Code will display a warning icon ⚠, along with a green «Install in WSL» button, if you have an extension locally installed that is not installed on your WSL Remote.

Дополнительные сведения см. в VS Code документах: For further information, see the VS Code docs:

При запуске VS Code Remote в WSL сценарии запуска оболочки запускаться не будут. When VS Code Remote is started in WSL, no shell startup scripts are run. Дополнительные сведения о выполнении дополнительных команд или изменении среды см. в этой статье о сценариях расширенной настройки среды . See this advanced environment setup script article for more info on how to run additional commands or modify the environment.

Возникли проблемы при запуске VS Code из командной строки WSL? Having problems launching VS Code from your WSL command line? В этом руководство по устранению неполадок содержатся советы по изменению переменных пути, устранению ошибок расширения, связанных с отсутствием зависимостей, устранению проблем с завершением строк Git, установке локального VSIX на удаленном компьютере, запуску окна браузера, порту localhost для блокировки, веб-сокеты не работают, ошибки при хранении данных расширения и многое другое. This troubleshooting guide includes tips on changing path variables, resolving extension errors about missing dependencies, resolving Git line ending issues, installing a local VSIX on a remote machine, launching a browser window, blocker localhost port, web sockets not working, errors storing extension data, and more.

Установка Git (необязательно) Install Git (optional)

Если вы планируете работать совместно с другими пользователями или размещать проект на сайте с открытым исходным кодом (например, GitHub), примите во внимание, что VS Code поддерживает управление версиями с помощью Git. If you plan to collaborate with others, or host your project on an open-source site (like GitHub), VS Code supports version control with Git. Вкладка системы управления версиями в VS Code отслеживает все изменения и содержит общие команды Git (добавление, фиксация, принудительная отправка, извлечение) прямо в пользовательском интерфейсе. The Source Control tab in VS Code tracks all of your changes and has common Git commands (add, commit, push, pull) built right into the UI.

Установка Терминала Windows (необязательно) Install Windows Terminal (optional)

Новый терминал Windows включает несколько вкладок (для быстрого переключения между командной строкой, PowerShell или несколькими дистрибутивами Linux), настраиваемыми пользовательскими привязками клавиш (создайте собственные сочетания клавиш для открытия и закрытия вкладок, копирования и вставки и т. д.), эмодзи ☺ и пользовательские темы (цветовые схемы, стили и размеры шрифтов, фоновое изображение, размытие и прозрачность). The new Windows Terminal enables multiple tabs (quickly switch between Command Prompt, PowerShell, or multiple Linux distributions), custom key bindings (create your own shortcut keys for opening or closing tabs, copy+paste, etc.), emojis ☺, and custom themes (color schemes, font styles and sizes, background image/blur/transparency). Дополнительные сведения см. в документации по терминалу Windows. Learn more in the Windows Terminal docs.

Скачайте Терминал Windows из Microsoft Store: При установке через магазин обновления выполняются автоматически. Get Windows Terminal in the Microsoft Store: By installing via the store, updates are handled automatically.

После установки откройте Терминал Windows и щелкните Параметры, чтобы настроить Терминал использовать файл profile.json . Once installed, open Windows Terminal and select Settings to customize your terminal using the profile.json file.

Дополнительные ресурсы Additional Resources

К дополнительным рекомендуемым расширениям относятся следующие: A few additional extensions you may want to consider include:

  • Раскладки клавиатуры других редакторов — эти расширения позволят использовать необходимую раскладку при переходе в другой текстовый редактор (например, Atom, Sublime, Vim, eMacs, Notepad++ и т. п.). Keymaps from other editors: These extensions can help your environment feel right at home if you’re transitioning from another text editor (like Atom, Sublime, Vim, eMacs, Notepad++, etc).
  • Расширение синхронизации параметров — позволяет синхронизировать параметры VS Code в разных установках, используя GitHub. Settings Sync: Enables you to synchronize your VS Code settings across different installations using GitHub. Если вы работаете на разных компьютерах, это обеспечит согласованность среды между ними. If you work on different machines, this helps keep your environment consistent across them.
  • Отладчик для Chrome: после завершения разработки на стороне сервера с Linux необходимо разработать и протестировать клиентскую часть. Debugger for Chrome: Once you finish developing on the server side with Linux, you’ll need to develop and test the client side. Это расширение интегрирует редактор VS Code со службой отладки браузера Chrome, что увеличивает эффективность выполнения операций. This extension integrates your VS Code editor with your Chrome browser debugging service, making things a bit more efficient.

—>

Читайте также:  Как узнать sid пользователя windows
Оцените статью