K
K
KaPJIcOn2018-05-30 22:35:36
Java
KaPJIcOn, 2018-05-30 22:35:36

Tomcat and Java on a flash drive, is it possible?

Is it possible to raise a web project (development, etc.) on a flash drive so that Eclipse is on the flash drive, Apache Tomcat is developed on my computer, and then continue to develop on another computer? Will it work?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Gornostaev, 2018-05-31
@KaPJIcOn

Yes, no problem:
It remains to create a batch file in the root of the flash drive that sets environment variables

@echo off

set "JAVA_HOME=%CD%\jdk-10.0.1"
set "PATH=%JAVA_HOME%\bin;%PATH%"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question