chmod root

Active Member
Oct 18, 2006
28
0
151
How do I install JRE? the threads I searched are outdated or don't mention JRE specifically. Is this part of Tomcat by default? If so, how do I check the version?
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
If tomcat is installed via the WHM Addon, then the JRE is installed also. If you don't have access to WHM, then you need to talk to your system administrator about installing Tomcat for you.
 

sabina

Registered
Feb 4, 2011
3
0
51
hello,i have a ( linux) server with JRE.and i have a client-server application too.
i want to upload my project in cpanel.

in my server will be to tie everything together(client and server) and provide a GUI so I can see what's happening.so i use GUI JFrame ,... and create all class of java application with netbeans.

now , i don't know how to upload my project in cpanel(which file and folders of netbeans to which folders of cpanel ).

i asked it "http://www.javaprogrammingforums.com/java-networking/7188-how-upload-netbeanss-code-cpanel.html"
replyd :You'll probably have more luck asking at a cpanel forum

tnx
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Is this a .war file or some other application structure? Did you already locally develop it to get it working? The main document root is /home/user/public_html so you can upload your files to public_html, but we wouldn't know the directory structure of netbeans itself either, since we don't know which files and folders for netbeans need to be uploaded. I can state that it must be public_html or higher in the cPanel user's account in order for it to work, though.
 

sabina

Registered
Feb 4, 2011
3
0
51
not .war, but it is an application structure.i test it in wampserver, and it worked .but in cpanel is not working.
tnx for helping me.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello sabina,

How are you deploying it? Where are you placing the files basically and which files are being uploaded?

Thanks.
 

sabina

Registered
Feb 4, 2011
3
0
51
hello,
i make this project with netbeans IDE 6.5. and i have folders (build,dist,nbproject,src,test) and files (build.xml,mainfest.mf) .
in build folder, exist Main.class and other classes.
in dist folder ,exist a Jar file.
in nbproject folder ,exist build-impl,build.xml,project.properties,project.xml,genfiles.properties.
in src , exist MAin.java, other java files.

in netbeans , I did right-click on name project and ,select Properties ,and select PAckaging Node .then active check "compress jar file". so build project and then run it. and finally i upload jar file in public_html of cpanel.

Thank you.