mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
32 lines
350 B
C++
32 lines
350 B
C++
#include "Java.h"
|
|
|
|
NAMESPACE_UPP
|
|
|
|
String Jdk::GetDownloadUrl()
|
|
{
|
|
return "http://www.oracle.com/technetwork/java/javase/downloads/index.html";
|
|
}
|
|
|
|
Jdk::Jdk()
|
|
{
|
|
|
|
}
|
|
|
|
Jdk::Jdk(const String& path)
|
|
{
|
|
this->path = path;
|
|
}
|
|
|
|
Jdk::~Jdk()
|
|
{
|
|
|
|
}
|
|
|
|
bool Jdk::Validate() const
|
|
{
|
|
if(!FileExists(GetJavacPath())) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
END_UPP_NAMESPACE
|