Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Dries007

      ATTENTION Forum Database Breach   03/04/2019

      There has been a breach of our database. Please make sure you change your password (use a password manager, like Lastpass).
      If you used this password anywhere else, change that too! The passwords themselves are stored hashed, but may old accounts still had old, insecure (by today's standards) hashes from back when they where created. This means they can be "cracked" more easily. Other leaked information includes: email, IP, account name.
      I'm trying my best to find out more and keep everyone up to date. Discord (http://invite.gg/TerraFirmaCraft) is the best option for up to date news and questions. I'm sorry for this, but the damage has been done. All I can do is try to make sure it doesn't happen again.
    • Claycorp

      This forum is now READ ONLY!   01/20/2020

      As of this post and forever into the future this forum has been put into READ ONLY MODE. There will be no new posts! A replacement is coming SoonTM . If you wish to stay up-to-date on whats going on or post your content. Please use the Discord or Sub-Reddit until the new forums are running.

      Any questions or comments can be directed to Claycorp on either platform.
Sign in to follow this  
Followers 0
Eskalante

Could not find main class [SOLVED]

8 posts in this topic

Hi and please help me.

I downloaded TFCLauncher.jar 3 days ago and played some time, everything works but affter some time i got big lags and game freezes. I found solution here on forum, i have to change memory size in ram to bigger number. When i do that game wont start becouse i got java 32. Again here on forum i read that i need java 64 to be able to run it with more than 1024MB memory. So now i have java 64 but when i run TFCLauncher.jar it will popup error message:

Could not find the main class .....

i tried download new launcher but it will do the same thing. My FTB and vanila runs with no problem.

my system:

Windows 7 64

Java 6 64

paths

EXE4J_JAVA_HOME - C:\Program Files\Java\jre6\

TFC- D:\Games\TFC\

FTB- D:\Games\FTB\

Vanila- standard in .minecraft

i tried to run commands

java -cp D:\Games\TFC TFC

with the same result

what can i do so java will find that class in TFCLauncher.jar?

0

Share this post


Link to post
Share on other sites

update: i can run it with javaw.exe from java 6 32 bit version, but still cant change memory size

0

Share this post


Link to post
Share on other sites

rightclick the icon -> property -> compatibility -> deactive visual themes

i don't know if these are the name in english, i only translate the name from italian

0

Share this post


Link to post
Share on other sites

rightclick the icon -> property -> compatibility -> deactive visual themes...

i dont have compatibility tab there, only general, security, details and previous versions

edit: i changed in registers to always show the compatibility tab but it is not there, not even run as admin option...

0

Share this post


Link to post
Share on other sites

update: got new java 7 64bit, memory set to 1024 - 2048 MB and it works

- with new hotfix 17 no textures so i dont know if it is done for me. i will report after some tests with textures.

0

Share this post


Link to post
Share on other sites

- with new hotfix 17 no textures so ...

It's a compile bug, it should work with hotfix 18.
0

Share this post


Link to post
Share on other sites

after some playing i can tell that i fixed my game. so is what i find here on forum and by testing

- game after 1-10 mins freezes : only 1024 MB for java

- cant change memory size for more than 1024 MB : 32bit java on 64 bit system (windows 7)

- launcher wont start, shows "could not find main class..." error : wrong java (6), changed to java 7

summary - my TFC runs on JAVA 7 64bit (got more javas but my path variable points to this one), windows 7 64bit + optifine = no lags and 50+ FPS :)

0

Share this post


Link to post
Share on other sites

Hello all. If you have any additional java parameters try removing them. I was having the exact same problem and it seems to be working fine now.

 

-Bobsteve21

0

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0